Confirm a payment
Gateway
Confirm a payment
This endpoint confirms a payment and submits it to the blockchain for processing.
POST
Confirm a payment
Documentation Index
Fetch the complete documentation index at: https://walletconnect-pay-docs-docs-wcp-fiat-coverage.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Headers
Path Parameters
Payment ID
Example:
"pay_7fa2ecc101ARZ3NDEKTSV4RRFFQ69G5FAV"
Query Parameters
Maximum time to long-poll for payment status, in milliseconds.
Required range:
x >= 0Body
application/json
ID of the option to confirm
Example:
{
"fields": [
{ "id": "fullName", "value": "John Smith" },
{ "id": "dob", "value": "1990-01-01" },
{ "id": "tosConfirmed", "value": "true" },
{ "id": "pobCountry", "value": "US" },
{
"id": "pobAddress",
"value": "New York, NY"
}
]
}Response
Payment confirmed successfully
True if the payment is in a final state and no longer requires polling
Payment status
Available options:
requires_action, processing, succeeded, failed, expired, cancelled Payment information (transaction hash). Present when status is Succeeded, null otherwise.
Time to poll for payment status, in milliseconds. Not present if the payment is in a final state.
Required range:
x >= 0