Check Transaction
After receiving an HTTP notification containing a transaction a merchant can use the Check Transaction API to verify the status of the transaction.
POST /external/v1/merchant/check_transaction
&merchant=partner:a0c2b23f-97a4-4eb7-9ec1-4333131805cb
&transaction_id=12345
Host: api.sla-alacrity.com
Authorization: Basic XXXXxxxYYYY
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
{
"campaign": "campaign:2524cb1a8a1ae0d98cfb57ac5a806dc2d212205d",
"merchant": "partner:a0c2b23f-97a4-4eb7-9ec1-4333131805cb",
"msisdn": "97686614241",
"status": "error",
"amount": "1.0",
"content_name": "a widget",
"currency": "MNT",
"environment": "production",
"timestamp": "2021-12-15T06:20:49.289Z"
}
Updated almost 2 years ago