Update Stripe Connect Gateway
PUT/v2/gateways/stripe_connect
Use this endpoint to configure Stripe Connect in Commerce.
You can contact Elastic Path sales or customer success team to get more information about Stripe Connect and to check whether it will work for you.
Request
- application/json
Body
data object
Specifies whether the gateway is enabled or disabled. Set true
to enable the gateway and false
to disable the gateway. Default is false
.
Specifies the Stripe Connect account ID.
Specifies whether the test mode is enabled. Set true
to enable test mode and false
to disable the test mode. Default is false
.
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
Specifies whether the gateway is enabled or disabled. Set true
to enable the gateway and false
to disable the gateway. Default is false
.
Specifies the Stripe Connect account ID.
Specifies the name of the gateway.
Specifies whether the test mode is enabled. Set true
to enable test mode and false
to disable the test mode. Default is false
.
Represents the slug of the gateway.
Specifies the type of object being returned.
{
"data": {
"enabled": true,
"stripe_account": "{{stripeConnectAccountId}}",
"name": "Stripe Connect",
"test": true,
"slug": "stripe_connect",
"type": "gateway"
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}