Confirm a payment request
Confirm a payment request to complete the payment lifecycle. The payment request must be in RequiresPaymentMethod or RequiresAction status. This can be used when collecting a payment method to create and process a payment. The payment request status updates based on the result.
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.
Body
Description of the payment request
255"Updated premium payment for policy #POL-2025-001"
Client-supplied 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" }Response
Payment processed successfully.
"pay_AbC123XyZ"
ID of the payment request this payment belongs to
"prq_Def456UvW"
ID of the payer making the payment
"pyr_GhI789JkL"
Current status of the payment
Pending, Processing, Succeeded, Failed "Succeeded"
Amount in smallest currency unit
125000
ISO 4217 currency code
"USD"
Client-supplied identifier
"ORD-2025-001"
Description of the payment
"Premium payment for policy #POL-2025-001"
External transaction ID from the payment processor
"txn_processor_123"
Error code if the payment failed
"card_declined"
Human-readable error message if the payment failed
"Card was declined"
"2025-10-08T18:20:31Z"
"2025-10-08T18:25:00Z"