Allows you to retrieve the full status of the requested payment. One of the 3 identifiers (Tid, RequestId or OrderId) will be required.
Request
Body Params application/x-www-form-urlencoded
Tid
numberÂ
optional
Unique Easytransac transaction's identifier
RequestId
numberÂ
optional
Request identifier (if payment/page)
OrderId
numberÂ
optional
Your transaction identifier
Language
stringÂ
optional
Language of the potential bank errors returned
Signature
stringÂ
required
Signature to verify the integrity of the data sent
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.sandbox.easytransac.com/v2/api/payment/status' \
--data-urlencode'Signature='
Responses
🟢200Response
application/json
Body
Code
integerÂ
optional
Example:
0
Signature
stringÂ
optional
Example:
1f51786246a940677afe71f6968972fd46500bd1
Result
objectÂ
optional
RequestId
stringÂ
optional
Example:
a1b2c3d4e5f6
Tid
stringÂ
optional
Example:
a1b2c3d4
Uid
stringÂ
optional
Example:
Abc123
OrderId
stringÂ
optional
Example:
Cde100
Status
enum<string>Â
optional
Allowed values:
pendingcapturedfailedrefundedauthorized
Example:
captured
Date
stringÂ
optional
Example:
2019-06-03 17:05:30
DateRefund
stringÂ
optional
Example:
2019-06-03 17:05:30
Amount
stringÂ
optional
Example:
29.99
FixFees
stringÂ
optional
Example:
0.01
Message
stringÂ
optional
Example:
Payment was successful
3DSecure
stringÂ
optional
Example:
yes
OneClick
stringÂ
optional
Example:
yes
Alias
stringÂ
optional
Example:
a1b2c3
Example
{"Code":0,"Signature":"1f51786246a940677afe71f6968972fd46500bd1","Result":{"RequestId":"a1b2c3d4e5f6","Tid":"a1b2c3d4","Uid":"Abc123","OrderId":"Cde100","Status":"pending","Date":"2019-06-03 17:05:30","DateRefund":"2019-06-03 17:05:30","Amount":"29.99","FixFees":"0.01","Message":"Payment was successful","3DSecure":"yes","OneClick":"yes","Alias":"a1b2c3"}}