Payment Intents
Cancel payment intent
Changed onCancel an open payment intent
post/payment-intents/{paymentIntentId}/cancel
Request
- Base URLhttps://api.natural.com
- URLhttps://api.natural.com/payment-intents/{paymentIntentId}/cancel
- AuthHTTP bearer
Path parameters
paymentIntentIdstring required
Payment intent ID (pmi_*).
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
- info
added the optional property
//to the response with the status
- info
- warning
added the new
authorizedenum value to the//response property for the response status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning