We refreshed our doc site!

Bookmarked links may have changed

Read release notes

createPaymentToken

Circle Mint

Create a payment token

POSThttps://api.circle.com/v1/paymentTokens

Convert a digital wallet (Apple Pay, Google Pay) token to a single-use payment token.

Body parameters
tokenData
object
Required

The token data

type
string
Required

Type of the digital wallet token.

idempotencyKey
uuid
Required

Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests.

Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "id": "gc988ed5-c189-4f70-a074-e5beb7eb8e32",
4    "type": "applepay",
5    "expiresOn": "2022-01-18T19:20:00Z",
6    "cardDetails": {
7      "expMonth": 1,
8      "expYear": 2020,
9      "network": "VISA",
10      "last4": "0123",
11      "bin": "401230",
12      "fundingType": "credit",
13      "issuerCountry": "US"
14    },
15    "createDate": "2020-04-10T02:13:30.000Z",
16    "updateDate": "2020-04-10T02:13:30.000Z"
17  }
18}
Did this page help you?
© 2023-2024 Circle Technology Services, LLC. All rights reserved.