Skip to content

Check status

By Reference#

POST https://payments.apipro.io/v2/check/transaction

This API endpoint is used to check payment details by order reference.

Send a POST request to the /v2/check/transaction URL (full: https://payments.apipro.io/v2/check/transaction) with the reference in the request body. You will receive a 200 OK response containing the full transaction information.

Request body#

Annotations in the example are the field requirements: required, optional or conditional. Comments are stripped automatically by the Postman collection before signing; remove them in your own requests.

{
  "reference": "SomeTransaction#1" // unique transaction reference
}

Fields#

Field Type Requirement / note
reference string unique transaction reference

Responses#

Response Examples

Succesful response (pending status)
{
  "error_code": 0,
  "error_reason": "",
  "identifier": "PM00000000FONI1",
  "request_id": "8f0b50db-7ede-4edb-b36c-8b5cffdf9310",
  "reference": "SomeTransaction#1",
  "method": "card",
  "type": "payment",
  "mode": "initial",
  "currency": "USD",
  "amount": "25.01",
  "status": "pending",
  "card": {
    "bin": "31200",
    "last_4": "3119",
    "exp_month": "11",
    "exp_year": "2055",
    "brand": "visa"
  },
  "transaction_external_meta": {
    "meta_data1": "text",
    "meta_data2": 50,
    "meta_data3": true,
    "meta_data4": "2024-02-20T14:00:00+02"
  },
  "challenge": {
    "challenge_type": "redirect",
    "challenge_redirect": {
      "url": "https://some_url_for_redirect"
    }
  },
  "timestamp": "2024-04-01T18:08:24Z",
  "status_date": "2024-04-01T18:08:54Z"
}