Skip to main content
POST
Create a payment intent

Authorizations

Authorization
string
header
required

Use your Modem Pay secret key.

  • Test environment: Use your sk_test_... key.
  • Production environment: Only use sk_live_... on your personal, secure machine. Do NOT share or commit your production keys.

Headers

X-No-Effect
boolean

Body

application/json
data
object
required

Response

201 - application/json

Payment intent created

payment_intent_id
string<uuid>
intent_secret
string
amount
number
transaction_fee
number
transaction_fee_type
string
currency
string
expires_at
string<date-time>
status
string