Skip to main content
POST
curl

Authorizations

Authorization
string
header
required

Your PayBridgeNP API key. Obtain one from the dashboard under Settings → API Keys. Prefix: sk_test_ for testing, sk_live_ for production.

Path Parameters

id
string
required

The checkout session id (e.g. cs_01j9x2k3m4n5p6q7r8s9t0u1v2).

Response

Session expired (or was already terminal).

id
string
Example:

"cs_01j9x2k3m4n5p6q7r8s9t0u1v2"

status
enum<string>

The session's current status after the expire call.

Available options:
pending,
initiated,
success,
failed,
cancelled,
expired
flow
enum<string>
Available options:
hosted,
redirect
provider
enum<string> | null
Available options:
esewa,
khalti,
fonepay
expires_at
string<date-time>