Skip to main content
GET
Get a transaction
Returns an onramp or offramp order in its current state. The id is the one on the response that created the order — from Create an onramp order or Create an offramp order — and it stays the same for the order’s whole life, so the id you stored at creation finds it at INIT, PROCESSING, COMPLETED or ERROR alike. The body uses the same fields as the response that created the order and as a ramp webhook delivery, so one parser handles all three. Two differences are worth knowing:
  • The payout account (accountNumber, accountName, bank) that Create an offramp order adds to its response is not repeated here. Keep it from the creation response if you need it.
  • Once an onramp order is COMPLETED, the virtual account it was paid into is no longer included — it has served its purpose.

When to call it

Webhooks are the primary way to follow an order; this is the fallback. It is the right call when:
  • a webhook delivery failed or your handler was down, and you need to know where an order ended up;
  • you want to confirm a webhook against Paj’s own record before acting on it;
  • you have no webhook configured and are polling.
If you are polling, a few seconds apart is plenty while an order is PROCESSING. An order in INIT is waiting on your user, not on Paj, so there is no point polling it quickly.

Only your own orders

The lookup is scoped to the business behind your API key. An id that belongs to another business returns 404, exactly as an id that does not exist does, so the response never reveals whether someone else’s order is real. An id that is not a well-formed id at all is a 400.
Unpaid orders are deleted 72 hours after creation, so an order that never left INIT eventually starts returning 404. Treat that as expired rather than as an error.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The id returned when the order was created

Example:

"68ff3a4ee9834db8927f61ed"

Response

The transaction in its current state

id
string
required

Transaction Id

Example:

"679be2527f99f556d77b8cc2"

address
string
required

Address

Example:

"4KSLE7EU1P7PQ8Rc4hdb2ZKq2JmWHD8UXJp7guEdyT9j"

signature
string
required

Transaction Signature

Example:

"2oLx7XrXP7Df9dZca1difJ91ZFmA44EEadNqrZTecta6ugcX8BAETbpvKQs54r58fmJTQVLzUSuzvRBFwS1GfJLo"

mint
string
required

Mint Address

Example:

"So11111111111111111111111111111111111111112"

currency
object
required

Currency

Example:

"NGN"

amount
number
required

Mint Amount

Example:

100000

usdcAmount
number
required

Usdc Amount

Example:

100

fiatAmount
number
required

Fiat Amount

Example:

100

sender
string
required

Wallet Public Key

Example:

"4KSLE7EU1P7PQ8Rc4hdb2ZKq2JmWHD8UXJp7guEdyT9j"

recipient
string
required

Recipient Public Key

Example:

"4KSLE7EU1P7PQ8Rc4hdb2ZKq2JmWHD8UXJp7guEdyT9j"

rate
number
required

Rate of currency to usdc

Example:

9

status
object
required

Transaction Status

Example:

"PENDDING"

transactionType
object
required

Transaction Type

Example:

"OFF_RAMP"

createdAt
string<date-time>
required

Transaction creation date

Example:

"2026-09-28T14:55:27.097Z"

accountNumber
string
required

Account Number (for onramp transactions)

Example:

"0025635480"

accountName
string
required

Account Name (for onramp transactions)

Example:

"Paj Inc."

bank
string
required

Bank Name (for onramp transactions)

Example:

"First Bank"

fee
number
required

Transaction fee in usdc

Example:

0.2

chain
object
required

Chain

Example:

"SOLANA"