v1
latestOpenAPI 3.1.02026-07-262343124.1 KBPayments
Create a new payment
Creates a new payment with the provided payment details.
post/v1/payments
Headers
Api-Keystring required
Merchant-Idstring required
WCP-Versionstring nullable
Sdk-Namestring nullable
Sdk-Versionstring nullable
Sdk-Platformstring nullable
Idempotency-Keystring nullable
Request body
Example request
{
"amount": {
"unit": "iso4217/USD",
"value": "100"
},
"expiresAt": null,
"referenceId": "ORDER-123"
}Response
Payment created successfully
Example response
{
"expiresAt": 1718236800,
"gatewayUrl": "https://api.pay.walletconnect.com/pay_123",
"isFinal": false,
"paymentId": "pay_fea2ecc101KQFN7X7QP87PNA9SVQNAQAFP",
"pollInMs": 1000,
"status": "requires_action"
}