payment_intents
Create Payment Intent
Changed onpost/v2/payment_intents/
Request
- Base URLhttps://docs.stancer.com (the document declares no server; this is the origin it was published from)
- URLhttps://docs.stancer.com/v2/payment_intents/
- Auth
- HTTP basic
- or HTTP bearer
Request body
Example request
{
"customer": "cust_yWYfCSzsUUhr9KwMv7vuLZHX",
"card": "card_yWYfCSzsUUhr9KwMv7vuLZHX",
"sepa": "sepa_yWYfCSzsUUhr9KwMv7vuLZHX",
"billing_address": "addr_yWYfCSzsUUhr9KwMv7vuLZHX",
"shipping_address": "addr_yWYfCSzsUUhr9KwMv7vuLZHX"
}Response
Successful Response
Example response
{
"id": "pi_yWYfCSzsUUhr9KwMv7vuLZHX",
"customer": "cust_yWYfCSzsUUhr9KwMv7vuLZHX",
"payment": "paym_yWYfCSzsUUhr9KwMv7vuLZHX",
"card": "card_yWYfCSzsUUhr9KwMv7vuLZHX",
"sepa": "sepa_yWYfCSzsUUhr9KwMv7vuLZHX",
"billing_address": "addr_yWYfCSzsUUhr9KwMv7vuLZHX",
"shipping_address": "addr_yWYfCSzsUUhr9KwMv7vuLZHX"
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info