curl
Payments
Get a payment
Retrieves a single payment by its ID.
GET
curl
Authorizations
Your PayBridgeNP API key. Obtain one from the dashboard under Settings → API Keys. Prefix: sk_test_ for testing, sk_live_ for production.
Path Parameters
Payment ID (prefix: pay_).
Response
Payment object.
Example:
"pay_01j9x2k3m4n5p6q7r8s9t0u1v2"
true when created with a live key, false for sandbox.
Example:
"cs_01j9x2k3m4n5p6q7r8s9t0u1v2"
Available options:
sandbox, live Amount in paisa.
Example:
10000
Example:
"NPR"
Available options:
esewa, khalti, fonepay Available options:
pending, processing, success, failed, refunded, cancelled Provider's transaction reference.
Human-readable decline reason. null on success.
Arbitrary key-value data you attached at checkout creation.