Cancel a payment request
Cancel a payment request that is in RequiresPaymentMethod or RequiresAction status. Once canceled, the payment request can no longer be confirmed and funds collected.
Documentation Index
Fetch the complete documentation index at: https://docs.withacclaim.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the payment request.
Response
Payment request canceled successfully.
"prq_AbC123XyZ"
Current status of the payment request
RequiresPaymentMethod, RequiresAction, Processing, Authorized, Succeeded, Failed, Canceled "RequiresPaymentMethod"
Amount in smallest currency unit
125000
ISO 4217 currency code
"USD"
ID of the payer associated with this payment request
"pyr_AbC123XyZ"
"Premium payment for policy #POL-2025-001"
Client-supplied identifier
"ORD-2025-001"
Client-supplied idempotency key set at creation
255"idem_ord_2025_001"
Whether this payment request requires tokenization of the payment method
false
Whether this payment request allows tokenization of the payment method
false
Payment method associated with this payment request
External session identifier for this payment request
"prq_AbC123XyZ_abc123..."
Shipping address for this payment request
Error code if the payment request failed
"card_declined"
Human-readable error message if the payment request failed
"Card was declined"
When the payment request expires
"2025-12-31T23:59:59Z"
When the payment request was completed
"2025-10-08T18:25:00Z"
IP address of the client making the payment
"192.168.1.1"
User agent string of the client making the payment
"Mozilla/5.0..."
Optional metadata as key-value pairs
{ "custom_field": "value", "source": "api" }"2025-10-08T18:20:31Z"
"2025-10-08T18:25:00Z"