Skip to main content
POST
Complete a secure-payment session

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

id
string
required
Minimum string length: 1

Body

application/json
session_id
string
required

The capture session identifier returned by the start operation.

Minimum string length: 1
card_last4
string

Exactly the last four digits of the PAN. The full card number must never be sent.

Pattern: ^\d{4}$
card_brand
string

Card brand reported by the PSP (e.g. visa, mastercard).

Maximum string length: 32
psp_token_ref
string

Opaque PSP token reference for the captured card.

Maximum string length: 256

Recording-consent receipt id, required by two-party-consent tenants to resume recording.

Maximum string length: 256

Response

Secure-payment session completed

data
object
meta
object