Update Stripe Payment Intents Gateway
PUT/v2/gateways/stripe_payment_intents
Use this endpoint to configure Stripe Payment Intents.
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
Specifies the Stripe secret key for your account that is in live or test mode.
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": "{{stripeLoginToken}}",
"name": "Stripe Payment Intents",
"slug": "stripe_payment_intents",
"type": "gateway"
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
detail string
status string
title string
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}
Loading...