create_refund
Initiate full or partial refunds for successful payments. Specify the original payment request ID, refund request ID, amount, and currency to process refunds.
Instructions
The tool is used by the Acquiring Service Provider (ACQP) to initiate a refund of a successful payment.The refund can be full or partial. A transaction can have multiple refunds as long as the total refund amount is less than or equal to the original transaction amount.
Args:
payment_request_id: The request ID of the payment to be refunded, assigned by the ACQP to identify the original payment order.Maximum length: 64 characters
refund_request_id: The unique ID that is assigned by the ACQP to identify a refund request. Maximum length: 64 characters.
refund_amount_value: The amount to charge as a positive integer in the smallest currency unit. (That is, 100 cents to charge $1.00, or 100 to charge JPY 100, a 0-decimal currency).Value range: 1 - unlimited
refund_currency: The currency code of the amount. The value of this parameter must be an alphabetic code that follows the ISO 4217 standard, for example, "EUR" for Euros.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refund_currency | Yes | ||
| refund_request_id | Yes | ||
| payment_request_id | Yes | ||
| refund_amount_value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |