Update a payment request. Only provided fields will be updated. Can update description, order ID, amount, currency, tokenization flags, expiration date, payer, payment method, IP address, and user agent.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the payment request.
Description of the payment request
255"Updated premium payment for policy #POL-2025-001"
Client-supplied order identifier for reconciliation
255"ORD-2025-002"
Amount in smallest currency unit (must provide both amount and currency)
x >= 120000
ISO 4217 currency code (3 uppercase letters, must provide both amount and currency)
3^[A-Z]{3}$"USD"
Whether this payment request requires tokenization of the payment method
Whether this payment request allows tokenization of the payment method
When the payment request expires (ISO 8601 date-time string)
"2025-12-31T23:59:59Z"
ID of the payer to associate with this payment request
"pyr_AbC123XyZ"
ID of an existing payment method to use (must belong to the payer if payer_id is provided)
255"pm_AbC123XyZ"
Payment method data (e.g., payment_token, payment_method type)
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" }Payment request updated 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"