Skip to main content
GET
/
v1
/
transactions
/
{transaction_id}
Retrieve a transaction
curl --request GET \
  --url https://api.modempay.com/v1/transactions/{transaction_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "amount": 123,
  "currency": "<string>",
  "status": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Use your Modem Pay secret key.

  • Test environment: Use your sk_test_... key.
  • Production environment: Only use sk_live_... on your personal, secure machine. Do NOT share or commit your production keys.

Headers

X-No-Effect
boolean

Path Parameters

transaction_id
string<uuid>
required

Response

200 - application/json

Transaction retrieved

id
string<uuid>
amount
number
currency
string
status
string
createdAt
string<date-time>