Check Payment Status
Authorization
ApiKeyAuth ApiPublicKey X-Authorization-Access<token>
Access Key value shared by Pay2Local during on-boarding
In: header
X-Authorization-Public<token>
Public Key value shared by Pay2Local during on-boarding
In: header
Query Parameters
request_id*string
The unique ID received when creating a deposit or withdrawal
currency*string
Currency of the transaction
Default
"BDT"Value in
"BDT"Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.pay2local.com/api/v1/secure/checkout/status?request_id=string¤cy=BDT"{
"requested_amount": 100,
"merchant_payment_id": "Py67ZppPBNfr",
"cust_phone": "01645484848",
"request_type": "Withdraw",
"service_type": "p2p_agent",
"bank_type": "Bkash",
"currency": "BDT",
"request_status": "Approved",
"notes": "Payment request not yet initialized",
"status": 200
}{
"message": "Bad Request",
"status": 400
}{
"message": "Not Authorized !",
"status": 401
}{
"message": "Invalid Request Id",
"status": 403
}