Transaction Refund

In order to refund user with money deducted from his balance through payment process over Centili platform you must use HTTP POST method on following URL with described parameters in application/json format.

Refund URL:

https://api.centili.com/api/payment/1_4/refund

POST refund request

URL: https://api.centili.com/api/payment/1_4/refund
Method: POST
Content type: application/json

{
"transactionid":"7433346xxx",
"apikey":"85182a402ff3554418b36f5824dxxxxx",
“sign”:” 5d5ecc6c8d6042c2a8bf6t3g2a1d3b7m2v5xxxxx”
}

Parameters:

Parameter

Description

Example

Required

transactionid

ID of the original transaction which you want to be refunded

123456789


mandatory

sign

Signature parameter created using issued key for signing request.

NOTE: Please refer to the signature key generation guide.

def0a0ba4f188cf174d383dc4d7f7041e358ba92


mandatory

apikey

Centili issued service key, unique for every payment service. Consists of alphanumeric characters and counts up to 32 characters.

f31a355df6dad07e49ba474db7ff9b07


mandatory

Possible server responses

{ “status”: “”, “errorMessage” : “ACCEPTED”}

where error mesage can be : ACCEPTED, INVALID_REQUEST, SERVER_ERROR

Server response

Meaning

HTTP 202 unsubscribe successful

User has been successfully refunded.

HTTP 400 invalid request

Unsubscribe request is bad.

HTTP 406 not accepted

Subscription has expired.

HTTP 500 server error

Some unexpected internal server errors occurs.

Updated about a year ago

Transaction Refund


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.