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:

http://api.centili.com/payment/rest/refund

POST refund request

URL: http://api.centili.com/payment/rest/refund
Method: POST
Content type: application/json

{
"transactionid":"7433346xxx",
"timestamp":"140975599xxx",
"sign":" 5d5ecc6c8d6042c2a8bf6t3g2a1d3b7m2v5xxxxx"
}

Parameters:

ParameterDescriptionExampleRequired
transactionidID of the original transaction which you want to be refunded123456789mandatory
apikeyUnique identifier under Centili system of your serviceasfreeagahagatssayatayta45673jhshshsmandatory
signSignature parameter created using issued key for signing request.

NOTE: Please refer to the signature key generation guide.
def0a0ba4f188cf174d383dc4d7f7041e358ba92optional

Possible server responses

Server HTTP responseMeaning
HTTP 202User has been successfully refunded.
HTTP 400 bad requestInvalid request
HTTP 500Some unexpected internal server errors occurs.

Updated 2 years 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.