Cancel Payment
Cancel a pending payment
POSTCancel Payment
Endpoint URL
https://testnet.trustsig.xyz/v1/payment/cancelAuthentication Status
API Key is required for all requests Webhook Secret
Headers
x-api-keyRequired
Your shop API key
x-signatureRequired
HMAC-SHA256 of timestamp|method|fullUrl|body signed with your secret key, sent as 64 hex characters
How to create the signaturex-timestampRequired
Current Unix time in milliseconds — must be the same value used to create x-signature
Parameters (Request Body)
idstring Required
Payment ID (UUID) returned when the payment was created. order_id is not accepted. Only a payment still waiting to be paid can be cancelled; a paid, expired or already cancelled payment returns an error.
