curl --request POST \
--url https://api-sandbox.circle.com/v1/paymentIntents/{id}/expire \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"data": {
"id": "8755d0ea-14f9-4259-b092-de23c14b6568",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"amountPaid": {
"amount": "0.00",
"currency": "USD"
},
"settlementCurrency": "USD",
"paymentMethods": [
{
"type": "blockchain",
"chain": "ETH"
}
],
"paymentIds": [],
"timeline": [
{
"status": "created",
"time": "2022-07-21T20:13:35.579331Z"
}
],
"createDate": "2022-07-21T20:13:35.578678Z",
"updateDate": "2022-07-21T20:19:24.859052Z"
}
}curl --request POST \
--url https://api-sandbox.circle.com/v1/paymentIntents/{id}/expire \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"data": {
"id": "8755d0ea-14f9-4259-b092-de23c14b6568",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"amountPaid": {
"amount": "0.00",
"currency": "USD"
},
"settlementCurrency": "USD",
"paymentMethods": [
{
"type": "blockchain",
"chain": "ETH"
}
],
"paymentIds": [],
"timeline": [
{
"status": "created",
"time": "2022-07-21T20:13:35.579331Z"
}
],
"createDate": "2022-07-21T20:13:35.578678Z",
"updateDate": "2022-07-21T20:19:24.859052Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Universally unique identifier (UUID v4) of a resource.
"b3d9d2d5-4c12-4946-a09d-953e82fae2b0"
The body is of type object.
Successfully expired a payment intent.
Show child attributes
Desired currency for the payments to settle in.
USD, BTC, ETH Show child attributes
blockchain The blockchain network for the payment.
ALGO, ARB, AVAX, BASE, BTC, ETH, HBAR, NOBLE, OP, POLY, SOL, SUI, XLM "0x8381470ED67C3802402dbbFa0058E8871F017A6F"
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
Show child attributes
List of associated payments.
List of associated refunds.
State management timeline.
Show child attributes
created, pending, complete, expired, failed, refunded ISO-8601 UTC date/time format.
underpaid, paid, overpaid requested_by_merchant, fee_collection_failed ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
Unique system generated identifier for the wallet of the merchant.
36"212000"
Was this page helpful?