Create or reuse a payment intent
curl --request POST \
--url http://localhost:3001/v1/payment-intents \
--header 'Content-Type: application/json' \
--header 'idempotency-key: <idempotency-key>' \
--data '
{
"externalReference": "<string>",
"sourceAmount": "<string>",
"sourceCurrency": "<string>",
"destinationAmount": "<string>",
"destinationCurrency": "<string>",
"beneficiaryAccount": "<string>",
"clientCompletedAt": "2023-11-07T05:31:56Z",
"beneficiaryName": "<string>",
"paymentSubtype": "<string>",
"bridgeTransferId": "<string>",
"txHash": "<string>",
"chain": "polygon",
"stablecoin": "USDC",
"expectedFxRate": "<string>",
"developerFeeExpected": "<string>",
"metadata": {}
}
'{
"caseId": "<string>",
"paymentIntentId": "<string>",
"externalReference": "<string>",
"status": "reconciling",
"verdict": null
}๐ธ Payment Intents
Create or reuse a payment intent
POST
/
v1
/
payment-intents
Create or reuse a payment intent
curl --request POST \
--url http://localhost:3001/v1/payment-intents \
--header 'Content-Type: application/json' \
--header 'idempotency-key: <idempotency-key>' \
--data '
{
"externalReference": "<string>",
"sourceAmount": "<string>",
"sourceCurrency": "<string>",
"destinationAmount": "<string>",
"destinationCurrency": "<string>",
"beneficiaryAccount": "<string>",
"clientCompletedAt": "2023-11-07T05:31:56Z",
"beneficiaryName": "<string>",
"paymentSubtype": "<string>",
"bridgeTransferId": "<string>",
"txHash": "<string>",
"chain": "polygon",
"stablecoin": "USDC",
"expectedFxRate": "<string>",
"developerFeeExpected": "<string>",
"metadata": {}
}
'{
"caseId": "<string>",
"paymentIntentId": "<string>",
"externalReference": "<string>",
"status": "reconciling",
"verdict": null
}Headers
Minimum string length:
1Minimum string length:
1Minimum string length:
1Body
application/json
Minimum string length:
1Pattern:
^-?\d+(\.\d+)?$Required string length:
2 - 12Pattern:
^-?\d+(\.\d+)?$Required string length:
2 - 12Minimum string length:
1Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Available options:
completed, failed, reversed Minimum string length:
1Available options:
stablecoin, bank, cross_border, other Minimum string length:
1Minimum string length:
1Minimum string length:
1Available options:
polygon Available options:
USDC Pattern:
^-?\d+(\.\d+)?$Pattern:
^-?\d+(\.\d+)?$Show child attributes
Show child attributes
โI
