Verify Payment
The following endpoint is used to verify specific payment details. Usually requested after successful completion payment to verify that the returning result is from Fatora itself or if it is hacking.
The following endpoint is used to get order(payment) details, you may need to call it after each succes_url for double checking the calling
Try it now: Verify payment API
Header Parameters
Header | Value |
---|---|
api_key
REQUIRED
|
Use the valid API key of your Fatora account. Read more information about Authentication. |
Content-Type
REQUIRED
|
application/json |
Request Body
Parameter | Description |
---|---|
transaction_id
OPTIONAL
|
stringThe transaction id of payment issued from the bank. |
order_id
REQUIRED
|
stringA unique identifier for order in your application |
Response
The successful request returns the HTTP 200 OK status code and a JSON response body that shows information about payment.
Response Schema: application/json | |
---|---|
status
|
string the status of response. SUCCESS |
result
|
arrayThe result array contins the following
values:
|
Otherwise if there was a problem with your request, you'll receive an error response such as 400 status code, and the response will include an error object describing why this request failed.
Response Schema: application/json | |
---|---|
status
|
string The status of response. |
error
|
object:
|
🛠️ Technical Support
- if you need any help you can check our help center, or contact support team