Update Stripe Gateway
PUT/v2/gateways/stripe
Use this endpoint to configure Stripe.
Request
- application/json
Body
data object
enabled boolean
Specifies whether the gateway is enabled or disabled. Set true
to enable the gateway and false
to disable the gateway. Default is false
.
login stringrequired
Represents Stripe test
or live
secret key.
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
enabled boolean
Specifies whether the gateway is enabled or disabled. Set true
to enable the gateway and false
to disable the gateway. Default is false
.
login string
Represents Stripe test or live secret key.
name string
Specifies the name of the gateway.
slug string
Represents the slug of the gateway.
type string
Specifies the type of object being returned.
{
"data": {
"enabled": true,
"login": "{{stripeToken}}",
"name": "Stripe",
"slug": "stripe",
"type": "gateway"
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
detail string
status string
title string
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}
Loading...