Merchant API
Create Status By Transaction ID
Home
Token
Merchant API
Customer
- 2FA
- AccessControl
- Active Session
- Credentials
- Customer
- Organization
- Profile Picture
Open Banking API
- Introduction
- POSTToken
- Account
- TPP
Merchant API
Create Status By Transaction ID
This API helps to get status by the Merchant Transaction ID.
POST
/
payment
/
payments
/
status-by-transaction-id
curl --request POST \
--url https://gateway.cyrexa.com/ipg/1.0.0/payment/payments/status-by-transaction-id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'organizationId: <organizationid>' \
--data '{
"transactionId": "<string>"
}'
{
"data": {
"result": {
"code": 123,
"description": "<string>"
},
"paymentId": "<string>",
"timestamp": "<string>",
"paymentBrand": "<string>",
"paymentMode": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"amount": "<string>",
"descriptor": "<string>",
"currency": "<string>",
"card": {
"bin": "<string>",
"last4Digits": "<string>",
"holder": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>"
},
"transactionStatus": "<string>",
"merchantTransactionId": "<string>",
"remark": "<string>",
"status": {
"detail": "<string>"
}
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Body
Response
200
text/plain
Success
curl --request POST \
--url https://gateway.cyrexa.com/ipg/1.0.0/payment/payments/status-by-transaction-id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'organizationId: <organizationid>' \
--data '{
"transactionId": "<string>"
}'
{
"data": {
"result": {
"code": 123,
"description": "<string>"
},
"paymentId": "<string>",
"timestamp": "<string>",
"paymentBrand": "<string>",
"paymentMode": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"amount": "<string>",
"descriptor": "<string>",
"currency": "<string>",
"card": {
"bin": "<string>",
"last4Digits": "<string>",
"holder": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>"
},
"transactionStatus": "<string>",
"merchantTransactionId": "<string>",
"remark": "<string>",
"status": {
"detail": "<string>"
}
}
}