Cancellation
POST
/api/payment/cancelThe cancellation request allows you to cancel a pre-authorization or a recurring payment (subscription or last instalments of a payment in several times).
Request
Body Params application/x-www-form-urlencoded
Tid
string
required
Unique Easytransac transaction's identifier
<= 8 characters
Language
string
optional
Language of the potential bank errors returned
Signature
string
required
Signature to verify the integrity of the data sent
Responses
Response(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
Code
integer
optional
Example:
0
Signature
string
optional
Example:
1f51786246a940677afe71f6968972fd46500bd1
Result
object
optional
Tid
string
optional
Example:
a1b2c3d4
OriginalPaymentTid
string
optional
Example:
a1b2c3d4
Date
string
optional
Example:
2019-06-03 17:05:30
Message
string
optional
Example:
Payment was successful
Example
{
"Code": 0,
"Signature": "1f51786246a940677afe71f6968972fd46500bd1",
"Result": {
"Tid": "a1b2c3d4",
"OriginalPaymentTid": "a1b2c3d4",
"Date": "2019-06-03 17:05:30",
"Message": "Payment was successful"
}
}
Last modified: a day ago