Check Status of CC Collection
This endpoint allows you to query the current status of a previously initiated payment transaction.
Endpoint
POST
Header 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
Responses
200 Success Response
Status
string
The status of the request. "Success"
indicates the request was successfully processed.
ErrorMessages
array
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.
Error Response
status
string
Indicates the status of the request.
ErrorMessages
string
Indicates the error messages, if any.
Last updated
Was this helpful?