v1

latestOpenAPI 3.1.02026-07-2413059.7 KB

Refund

This API is used to issue a refund to an end user, allowing for either a full or partial refund of a previous transaction.

get/refund

Query parameters

merchantIdinteger required

Vendo's content provider identifier link

transactionIdinteger required

Unique Vendo transaction id

actionTypeinteger required

Two types: 0 = 'only refund' 1 = 'refund + cancel subscription'

partial_amountnumber float

To do a partial refund, use this parameter by passing in the partial amount. If the partial amount is larger than the original amount, or the transaction has already been partially refunded, the request will be rejected. Example: partial_amount=9.95

currencystring

Optional 3-letter currency code of the amount to be refunded. Currencies.

signaturestring required

The URL signature. For more information, see Signing URLs.

Response

200