Check Status of CC Collection
This endpoint allows you to query the current status of a previously initiated payment transaction.
Endpoint
POST
https://token.suissu.com/service/api/transactionstatusHeader Parameters
Content-Type string (Required)
Indicates the format of the data that has to be sent or received.
Example:
application/json
x-api-name string (Required)
This is for authentication purpose and can be obtained by logging into the Extranet itself.
Example:
XXXXFIRSTAPP
x-api-key string (Required)
This is for authentication purpose and can be obtained by logging into the Extranet itself.
Example:
kfpwsfnknknfwknfkwnknef9823rujfsormDFS3ijoncvowoeorfnv
partner_id string (Required)
Indicates the unique property ID assigned upon the creation of the property.
transaction_id string (Required)
The transaction ID that was previously generated during the payment request. This ID is used to query the current status of the transaction.
Sample Request
{
"partner_id": "NILE",
"transaction_id": "f4ab7ceb2663afcf50a598a0d8e9173c"
}Responses
200 Success Response
Status string
The status of the request. "Success" indicates the request was successfully processed.
ErrorMessagesarray
An array of error messages. If there were no errors, this will be an empty array.
transaction_details object
Contains details about the transaction status.
pg_transection_id string
The unique transaction ID assigned by the payment gateway.
amount string
The amount of the transaction.
currency string
The currency of the transaction.
status string
The status of the transaction. A status of "Success" indicates the payment was completed successfully.
{
"Status": "Success",
"ErrorMessages": [],
"transaction_details": {
"pg_transection_id": "pi_3QklHKJELIxNKtIh0JcxjNlt",
"amount": "30",
"currency": "USD",
"status": "Success"
}
}Error Response
status string
Indicates the status of the request.
ErrorMessages string
Indicates the error messages, if any.
{
"Status": "Fail",
"ErrorMessages": [
"amount : Invalid or missing amount"
]
}Last updated
Was this helpful?