stripe_gateways
Update a stripe gateway
Changed onUpdate a stripe gateway
patch/stripe_gateways/{stripeGatewayId}
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/stripe_gateways/{stripeGatewayId}
- AuthHTTP bearer
Path parameters
stripeGatewayIdstring required
The resource's id
Request body
Example request
{
"data": {
"id": "XAyRWNUzyN",
"attributes": {
"name": "US payment gateway",
"force_payments": true,
"idempotency_window_mins": 60,
"_disable": true,
"_enable": true,
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
},
"_check": true,
"connected_account": "acct_xxxx-yyyy-zzzz",
"auto_payments": true,
"_refresh_webhook_secrets": true,
"_update_webhooks": true
}
}
}Response
The updated stripe gateway object
Changes
- info
added the new optional request property
// - info
added the optional property
//to the response with the status
- info
- info
added the new optional request property
// - info
added the new optional request property
//
- info