Skip to content

Initialise Card Capture

POST
/api/Checkout/sessions/me/capture-init
curl --request POST \
--url https://example.com/api/Checkout/sessions/me/capture-init \
--header 'Authorization: Bearer <token>'

Returns the front-end payload (mode + URL + extras) the page uses to render the gateway’s hosted form.

OK

Media type application/json
object
mode
string
nullable
url
string
nullable
extra
object
key
additional properties
string
Example generated
{
"mode": "example",
"url": "example",
"extra": {
"additionalProperty": "example"
}
}

Not Found

Media type application/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Conflict

Media type application/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}