Cancel a payment request that is in RequiresPaymentMethod or RequiresAction status. Once canceled, the payment request cannot be used for payment processing.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the payment request.
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 order identifier
"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"