Skip to main content
POST
Mint an MPP credential from a 402 challenge

Authorizations

Authorization
string
header
required

API key (sk_sandbox_* / sk_test_* / sk_live_*) or Agent token (at_* / at_dlg_*)

Body

application/json
challenge
string
required

Raw WWW-Authenticate header value (with or without the "Payment " prefix)

Maximum string length: 8192
intentId
string
required
Pattern: ^int_[a-z0-9]{8,}$
cardId
string
required
Pattern: ^ca_[a-z0-9]{8,}$

Response

Credential minted

id
string
Example:

"mppc_..."

credential
string

Opaque base64url-nopad JWE envelope

expires_at
string<date-time>
amount_euros
number
currency
string
merchant_id
string