payment_intents
Update Payment Intent
Changed onpatch/v2/payment_intents/{id}
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/{id}
- Auth
- HTTP basic
- or HTTP bearer
Path parameters
idstring required
Example:pi_yWYfCSzsUUhr9KwMv7vuLZHX
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 optional property
to the response with the status
- info