We refreshed our doc site!

Bookmarked links may have changed

Read release notes

presign

Circle Mint

Get a typed message for signing

GEThttps://api.circle.com/v1/payments/presign

Query parameters
paymentIntentId
uuid
Required

Payment intent id which is from the create payment intent endpoint response

endUserAddress
string
Required

User wallet address

amount
string
currency
string

Only support USD at the moment

Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "typedData": {
4      "domain": {
5        "name": "USD Coin",
6        "verifyingContract": "0x07865c6e87b9f70255377e024ace6630c1eaa37f",
7        "version": "2",
8        "chainId": 5
9      },
10      "message": {
11        "from": "0x8381470ED67C3802402dbbFa0058E8871F017A6F",
12        "to": "0xdB055877e6c13b6A6B25aBcAA29B393777dD0a73",
13        "value": "5003456",
14        "validAfter": 1675317371,
15        "validBefore": 1675107967,
16        "nonce": "0x4f716a578b96592599c3ca7b2a46453df87511d4809f608cec982d6e83632604"
17      },
18      "totalAmount": {
19        "amount": "3.14",
20        "currency": "USD"
21      },
22      "feeChargeModel": "endUser",
23      "networkFeeQuote": {
24        "quoteId": "5d0bb4e7-bd83-44dd-b8f5-53ddd5f35a3a",
25        "amount": {
26          "amount": "3.14",
27          "currency": "USD"
28        },
29        "expiresAt": "2023-02-02T06:01:21.152737680Z"
30      },
31      "types": {
32        "EIP712Domain": [
33          {
34            "name": "name",
35            "type": "string"
36          }
37        ],
38        "TransferWithAuthorization": [
39          {
40            "name": "name",
41            "type": "string"
42          }
43        ]
44      },
45      "primaryType": "TransferWithAuthorization"
46    }
47  }
48}
Did this page help you?
© 2023-2024 Circle Technology Services, LLC. All rights reserved.