Payments
Cancel payment
Cancel a payment before the recipient begins claiming it
post/payments/{paymentId}/cancel
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.
Response
Successful Response