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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

On successful refund a response 5907 is returned (Transaction successfully refunded.), otherwise, the API returns one of the following errors:

Response codeDescription
5900An exception occurred in the API.
5901Mandatory parameters missing.
5902Merchant-ID is invalid.
5903Transaction-ID is invalid.
5904Action-Type is invalid.
5905AuthToken is incorrect.
5906Transaction already refunded.
5907Transaction successfully refunded.
5908Refund rejected.
Query Params
int32
required

Vendo's content provider identifier link

int32
required

Unique Vendo transaction id

int32
required

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

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

string

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

string
required

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

Response

Language
LoadingLoading…
Response
Choose an example:
application/xml