Check order status
Once the payment has been made you can query the transaction status to display it to the user.
GET https://[base_url]/v2/apms/cash/{apm_detail_id}
Example:
GET https://[base_url]/v2/apms/cash/187
Query parameters
| PARAMETER | TYPE | REQ. | DESCRIPTION |
|---|---|---|---|
| apm_detail_id | Integer | Yes | Attribute "apm_detail_id" returned by the endpoint Create payment order |
Endpoint response
{
"transaction_id": "451326128",
"status": "Pendiente",
"msg": "Transacción aprobada"
}