Payments
Create Stripe payment intent
Create Stripe payment intent
POST
Headers
Example:
"0LybWR49k95cCwYh3cu0waCYoh4H2Eux2J52wn4k"
Body
application/json
Required range:
x >= 1
Example:
1000
Required string length:
3
Example:
"USD"
Example:
"cus_HRp23wXfXMqSao"
Example:
false
Example:
false
Example:
"pm_1Gsv4BFbKq2PvwXbl4XEl1O3"
Available options:
card
Example:
["card"]
Example:
"joedoe@fabric.inc"
Available options:
on_session
, off_session
Example:
"off_session"
Available options:
automatic
, manual
Example:
"manual"
Required range:
x >= 1
Example:
100
Example:
{ "orderId": "1234-1234-12345" }
Response
200
application/json
Created stripe payment intent
Example:
"pi_1GsyhzFbKq2PvwXbwAI3ZluI"
Example:
"payment_intent"
Example:
1000
Example:
0
Example:
0
Example:
"manual"
Example:
"pi_1GsyhzFbKq2Pvw1bwAI3ZluI_secret_GKG6hcap7VCggeoqJICAqSsRW"
Example:
"automatic"
Example:
1591913835
Example:
"usd"
Example:
["card"]
Example:
"on_session"
Example:
"requires_payment_method"
Was this page helpful?