We refreshed our doc site!

Bookmarked links may have changed

Read release notes

createCard

Circle Mint

Create a card

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

Body parameters
metadata
object
Required
expYear
integer
Required
1 to 9999

Four digit number representing the card's expiration year.

expMonth
integer
Required
1 to 12

Two digit number representing the card's expiration month.

billingDetails
object
Required
encryptedData
byte
Required

PGP encrypted base64 encoded string. Contains Number and CVV.

  • Number: Card number. No spaces or other separators. REQUIRED
  • CVV (Card Verification Number): Three or four digit security code. REQUIRED'
idempotencyKey
uuid
Required

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

keyId
uuid

Universally unique identifier (UUID v4) of the public key used in encryption. NOTE the sandbox environment uses the default value of key1. For this reason the example supplied is key1 rather than a UUID.

Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
4    "status": "pending",
5    "billingDetails": {
6      "name": "Satoshi Nakamoto",
7      "city": "Boston",
8      "country": "US",
9      "line1": "100 Money Street",
10      "line2": "Suite 1",
11      "district": "MA",
12      "postalCode": "01234"
13    },
14    "expMonth": 1,
15    "expYear": 2020,
16    "network": "VISA",
17    "last4": "0123",
18    "bin": "401230",
19    "issuerCountry": "US",
20    "fundingType": "credit",
21    "fingerprint": "eb170539-9e1c-4e92-bf4f-1d09534fdca2",
22    "errorCode": "verification_failed",
23    "verification": {
24      "avs": "D",
25      "cvv": "not_requested"
26    },
27    "riskEvaluation": {
28      "decision": "approved",
29      "reason": "3000"
30    },
31    "metadata": {
32      "email": "[email protected]",
33      "phoneNumber": "+14155555555"
34    },
35    "createDate": "2020-04-10T02:13:30.000Z",
36    "updateDate": "2020-04-10T02:13:30.000Z"
37  }
38}
Did this page help you?
© 2023-2024 Circle Technology Services, LLC. All rights reserved.