We refreshed our doc site!

Bookmarked links may have changed

Read release notes

createPaymentIntent

Circle Mint

Create a payment intent

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

Create a transient or continuous payment intent

Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
4    "amount": {
5      "amount": "3.14",
6      "currency": "USD"
7    },
8    "amountPaid": {
9      "amount": "3.14",
10      "currency": "USD"
11    },
12    "amountRefunded": {
13      "amount": "3.14",
14      "currency": "USD"
15    },
16    "settlementCurrency": "USD",
17    "paymentMethods": [
18      {
19        "type": "blockchain",
20        "chain": "ALGO",
21        "address": "0x8381470ED67C3802402dbbFa0058E8871F017A6F"
22      }
23    ],
24    "fees": [
25      {
26        "type": "blockchainLeaseFee",
27        "amount": "3.14",
28        "currency": "USD"
29      }
30    ],
31    "paymentIds": [],
32    "refundIds": [],
33    "timeline": [
34      {
35        "status": "created",
36        "context": "underpaid",
37        "reason": "requested_by_merchant",
38        "time": ""
39      }
40    ],
41    "expiresOn": "2020-04-10T02:13:30.000Z",
42    "updateDate": "2020-04-10T02:13:30.000Z",
43    "createDate": "2020-04-10T02:13:30.000Z",
44    "merchantWalletId": "212000"
45  }
46}
Did this page help you?
© 2023-2024 Circle Technology Services, LLC. All rights reserved.