Create a refund for a payment
Create and process a refund for a specific payment. The refund amount must not exceed the remaining refundable amount.
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.
Body
Refund amount in smallest currency unit
x >= 150000
Optional reason for the refund
255"Customer request"
Optional metadata as key-value pairs
{ "custom_field": "value", "source": "api" }Response
Refund created and processed.
"rf_AbC123XyZ"
ID of the payment being refunded
"pay_Def456UvW"
Current status of the refund
Processing, Succeeded, Failed "Processing"
Amount in smallest currency unit
50000
ISO 4217 currency code
"USD"
Reason for the refund
"Customer request"
External ID from the payment processor
"ref_processor_123"
External status from the payment processor
"pending"
Optional metadata as key-value pairs
{ "custom_field": "value", "source": "api" }"2025-10-08T18:20:31Z"
"2025-10-08T18:25:00Z"