Skip to main content
POST
Create payment context
This endpoint is currently shown as a preview of what’s currently in development and is subject to change.

Body

application/json

Payment method for context creation

payment_method
string
required

Payment method ID

Response

Payment context created successfully

gateway_id
string

Payment gateway ID

title
string

Payment gateway title

cart_total
string

Cart total amount

currency
string

Currency code

client_secret
string

Client secret for payment processing (if applicable)

payment_intent_id
string

Payment intent ID (if applicable)

public_key
string

Public key for client-side processing (if applicable)