The Refund request will follow a successful Capture request. The Refund request will send a credit note to the authorization system after the customer’s account has already been charged. The refund amount will be credited to the customer’s account and the merchant’s account will be charged.

POST URL: https://sandbox.payabl.com/pay/backoffice/payment_refund

REQUEST PARAMETERS
The POST request should contain the following components:

  • Refund Data

RESPONSE & SAMPLE CODES

  • Refund Response
  • Test Credentials

EXAMPLE:

  • Refund Request & Response

REFUND DATA

The Refund interface requires the following fields:

Field NameTypeLengthFormatMandatory?Description
merchantid alphanumeric40 charactersmerchant identification
transactionid numericmax. 50 digitsidentification of transaction
amountfloat numeric8.2
8
12345678.90
12345678
amount should not be higher than original transaction amount
currency char3ISO 4217currency
signature hexadecimal40 charactersSHA-1 hash value (hexadecimal)Signature Calculation
language char2 charactersISO Code 639 alpha 2language in which the error messages will be displayed
external_id alphanumeric*255 charactersMerchant’s unique id

REFUND RESPONSE

The response contains the following fields:

Field NameTypeContentDescription
statusnumericstatus, mandatory0 = no error, 2000 = pending, any other value is an error code.
errormessagealphanumericempty or error messageerror messages of the payment gateway or empty
Errmsgalphanumericempty or error messageerror messages of the payment gateway or empty
transactionidnumerictransactionid, mandatorypayment gateway transaction identification for interfaces preauthorize and authorize
transidnumerictransidtransid (deprecated)
pricenumericempty or price valueprice (deprecated)
amountnumericempty or amount valueamount
currencycharempty or currency valuecurrency
orderidalphanumericempty or orderid valueorderid in the merchant shop system

Our Technical Support team is there to help you:
Email: [email protected]
Telephone: +49 69 9434 09141
Available Monday – Friday between 09:00 and 17:00 CET/CEST