Skip to main content
POST
Expire a pending checkout wallet
string
required
Your existing active FossaPay API key with full permission.
string
required
The checkout id returned when the checkout was created.
Expiring a checkout emits a checkout.expired webhook. Only a checkout currently in pending status can be expired.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

Response

Checkout session expired successfully

status
string
required
Allowed value: "success"
statusCode
enum<integer>
required
Available options:
200,
201
message
string
required
data
object
required