Skip to main content
POST
/
api
/
mpp
/
session
Create an MPP payment session
curl --request POST \
  --url https://mag3nt.com/api/mpp/session \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "card_id": "<string>",
  "card_token": "<string>",
  "merchant": "<string>"
}
'
{
  "session_id": "<string>"
}

Authorizations

Authorization
string
header
required

API key prefixed with 'Bearer sx_live_...'

Body

application/json
card_id
string
required
card_token
string
required
merchant
string
required

Response

200 - application/json

Session created

session_id
string