Payments
Cancel payment
Changed onCancel a pending payment claim before the recipient claims it
post/payments/{paymentId}/cancel
Request
- Base URLhttps://api.natural.com
- URLhttps://api.natural.com/payments/{paymentId}/cancel
- AuthHTTP bearer
Path parameters
paymentIdstring required
Payment ID (pay_*).
Headers
Idempotency-Keystring required
Unique key for safely retrying a request without creating duplicates.
X-Instance-IDstring nullable
Caller-chosen identifier for the agent run, session, or conversation, required when an agent moves money.
Request body
Response
Successful Response
Changes
- breaking
removed the required property
//from the response with the status - info
added the required property
//to the response with the status
- breaking
- info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- info