v1

latestOpenAPI 3.0.22026-07-242673105.9 KB
Transactions

Query a transaction by ID

This endpoint will return the details of the requested transaction.

get/transactions/{transaction_id}

Path parameters

transaction_idinteger required

Unique transaction identifier.

Response

successful operation

idinteger

Unique transaction identifier.

external_idstring required

Unique identifier for the transaction in your system.

creation_datestring date-time
confirmation_expiration_datestring date-time
confirmation_datestring date-time
product_idinteger required

Product identifier.

calculation_mode'SOURCE_AMOUNT' | 'DESTINATION_AMOUNT' nullable

Required when product type is either RANGED_VALUE_RECHARGE, RANGED_VALUE_PIN_PURCHASE, or RANGED_VALUE_PAYMENT

auto_confirmboolean

Determines whether a transaction will be automatically confirmed upon creation or not. This is opted-out by default. Setting this field to true is recommended when transaction details, e.g. prices, are known as it removes the need to perform a separate API call to confirm transactions.

operator_referencestring nullable
callback_urlstring uri

Transaction status updates will be sent to this endpoint. See Callbacks for more details.

Example response

{
  "metadata": {
    "balance": {
      "validity": {
        "quantity": 365
      },
      "extended_data_policy": {
        "interval": "24h",
        "fixed_time": "00:00",
        "throttle_speed": "128 KB/s"
      }
    }
  }
}