Make a refund

This service allows you to create and read refunds of an existing payment.

Body Params
string
required

The payment ID.

Length: 50.

string
required

If a refund is pending, the refund confirmation is sent asynchronously to this URL.

Length: 200.

string

Custom merchant's name. Recommended if you need to define a different name to show on a payout link request. It's included in the email subject sent to the user as well.

Length: 100.

float

The refund amount, always in local currency. If no amount is specified, the total payment amount will be refunded by default. Required if currency is present.
This is mandatory for refunds with splits.

Length: 16,2. Example 9999999999999999.99

string

Currency of the Amount. Required if amount is present.

Length: 3.

string

Description of the refund.

Length: 200.

string

ID given by the merchant in their system.

Length: 125.

string

User's first name. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 50.

string

User's last name. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 50.

string

User's bank name. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 40.

string

User's bank code. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 45.

string

User's bank account number. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 45.

string

Type of bank account. C: for Current accounts; S: for Savings accounts; I: International accounts. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 40.

string

User's bank branch code. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 45.

string

User's bank branch name. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 40.

string

User's document type. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 10.

string

User's document id. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 40.

string

User's phone. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 20.

string

User's email. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 100.

string

User's address. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 200.

string

User's city. Recommended if the type of the payment is TICKET or BANK_TRANSFER.

Length: 100.

splits
array of objects

Allows to split a transaction between one or more accounts.
This is mandatory for captures and sales with splits.

splits
Response

Language
Credentials
Request
Choose an example:
application/json
中文
Powered by Localize
English