Skip to content

Resolve Deep Link

POST
/api/Checkout/sessions/resolve
curl --request POST \
--url https://example.com/api/Checkout/sessions/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "d": "example", "s": "example" }'

Verifies the HMAC signature on a checkout deep link, creates a CheckoutSession, and returns a short-lived JWT the browser uses for subsequent endpoints. Anonymous.

object
d
required
string
>= 1 characters
s
required
string
>= 1 characters
Example generated
{
"d": "example",
"s": "example"
}

OK

Media type application/json
object
outcome
string
Allowed values: Ok InvalidSignature ApiKeyNotFound MerchantMismatch PlanNotFound LinkExpired NonceAlreadyUsed
sessionId
string format: uuid
nullable
sessionToken
string
nullable
expiresAt
string format: date-time
nullable
Example
{
"outcome": "Ok"
}

Unauthorized

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"
}

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"
}

Gone

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"
}