Skip to main content

2.2 Get PayOut Status

GET /api/v2/transactions/{transaction_id}

Request​

ParameterTypeRequiredDescription
X-Api-KeystringYesYour enabled merchant API key.
X-SignaturestringYesLowercase hexadecimal HMAC-SHA256 of an empty string, using the API signing secret.

v2 does not require X-Timestamp or X-Request-Id. See authentication.

Example request​

GET /api/v2/transactions/12345

Response​

Response fields​

HTTP 200.

ParameterTypeMeaning
order_idstringYour identifier from the create request.
transaction_idstringPayfield transaction ID.
statusstringPENDING, SUCCESS, or FAILED.
amountJSON numberTransaction amount.
currencystringUppercase currency code.
methodstringThe method shop code supplied at creation. If omitted, the selected shop's payment-method code when available; otherwise unknown.
account_numberstring, optionalWithdrawal recipient account, or deposit payer account when available to the status API. Optional; PAN-shaped values are masked with the first 6 and last 4 digits visible.

Example response​

{
"order_id": "WD-BDT-1001",
"transaction_id": "12345",
"status": "PENDING",
"amount": 500,
"currency": "BDT",
"method": "your_bdt_shop",
"account_number": "411111******1111"
}

status is PENDING, SUCCESS, or FAILED. The response amount is a JSON number. account_number is included for withdrawals when available; card-shaped values are masked. This endpoint returns 404 for an unknown ID, another merchant's transaction, or a transaction created through v1. See the shared status guide.