Update Elastic Path Payments Powered by Stripe
PUT/v2/gateways/elastic_path_payments_stripe
Use this endpoint to configure Elastic Path Payments Powered by Stripe in Commerce.
You can contact Elastic Path sales or customer success team to get more information about Elastic Path Payments Powered by Stripe 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 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": "Elastic Path Payments powered by Stripe",
"test": true,
"slug": "elastic_path_payments_stripe",
"type": "gateway"
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}