curl
Refunds
Get a refund
Retrieves a single refund by 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
Refund ID (prefix: ref_).
Response
Refund object.
Example:
"ref_01j9x2k3m4n5p6q7r8s9t0u1v2"
true when created with a live key, false for sandbox.
Example:
"pay_01j9x2k3m4n5p6q7r8s9t0u1v2"
Available options:
sandbox, live Refunded amount in paisa.
Example:
10000
Example:
"NPR"
Available options:
customer_request, duplicate, fraudulent, other succeeded - refund processed. requires_action - eSewa: must be processed manually via merchant portal. failed - provider rejected the refund.
Available options:
processing, succeeded, failed, requires_action Provider's refund reference (Khalti only).
Set when status is failed or requires_action.