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:

Parameter
Description
Example
Required

transactionid

ID of the original transaction which you want to be refunded

123456789

mandatory

apikey

Unique identifier under Centili system of your service

asfreeagahagatssayatayta45673jhshshs

mandatory

sign

Signature parameter created using issued key for signing request.

NOTE: Please refer to the signature key generation guide.

def0a0ba4f188cf174d383dc4d7f7041e358ba92

optional

Possible server responses

Server HTTP response
Meaning

HTTP 202

User has been successfully refunded.

HTTP 400 bad request

Invalid request

HTTP 500

Some unexpected internal server errors occurs.

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.