Skip to main content

Refund

Properties

NameTypeRequiredDescription
amountfloatAmount of the refund, in units defined by currency in the original payment. Decimal, including the correct number of decimal places for the currency exponent, as defined in ISO 2417:2015.
created_atfloatTime of creation of this refund, in Unix time. Response only.
currencystr
ewalletsList[RefundEwallets]An array of one object, which contains the following fields: _ ewalletid - The ID of the wallet that the money is transferred from, a string starting with ewallet. _ amount - Amount of the transaction in currency units defined in currency. * percent - A decimal number representing a percentage of the total payout. Response only.
failure_reasonstrIndicates the reason that the refund failed.
fixed_sidestrIndicates whether the FX rate is fixed for the buy side or for the sell side. Relevant for refunds with foreign exchange. Response only.
fx_ratestrExchange rate for the transaction. When fixed_side is buy, fx_rate is the buy rate. When fixed_side is sell, fx_rate is the sell rate. Decimal number as string. Relevant to refunds with foreign exchange. Response only.
id_strID of the Refund object. String starting with refund_.
merchant_debited_amountstrAmount debited from the merchant. Relevant to refunds with foreign exchange. Response only.
merchant_debited_currencystrIndicates the currency that is debited from the merchant. Three-letter ISO 4217 code. Relevant to refunds with foreign exchange. Response only.
merchant_reference_idstrMerchant-defined ID. Limited to 255 characters.
metadatadictA JSON object defined by the client.
paymentstrD of the Payment object that the refund is credited against. String starting with payment_.
payment_created_atfloatTime that the original payment was created, in Unix time. Response only.
payment_method_typestrThe original payment payment method type. Use List Payment Methods by Country for a list of supported types for a country
proportional_refundboolIndicates whether the refund was returned in proportion to the amounts received by the wallets in the payment. Relevant to a refund for a payment split among multiple wallets.
reasonstrDescription of the reason for the refund, provided by the merchant.
receipt_numberfloatNumber of the receipt for the refund, provided by the merchant. Response only.
statusstrIndicates the status of the refund operation
updated_atfloatTime that this refund was last updated, in Unix time. Response only.

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →