Configure Stripe Payment Intents
You can configure Stripe Payment Intents programatically using the /gateways/stripe_payment_intents
endpoint.
The Stripe Payment Intents gateway object
Attribute | Type | Description |
---|---|---|
login | string | Your live or test Stripe secret key. |
type | string | This is always gateway |
name | string | The display name of the gateway. |
slug | string | A unique slug for this gateway. |
enabled | boolean | true or false -- enable the gateway. |
{
"data": {
"enabled": true,
"login": "xxx",
"name": "Stripe",
"slug": "stripe",
"type": "gateway"
}
}
PUT
Update Stripe Payment Intent settings
https://api.moltin.com/v2/gateways/stripe_payment_intents
Path Parameters:
Name | Required | Type | Description |
---|---|---|---|
login | Optional | string | Stripe test or live secret key. |
enabled | Optional | string | true , false |
Headers:
Name | Required | Type | Description |
---|---|---|---|
Authorization | Required | string | The Bearer token to grant access to the API. |
200 OK
{
"data": {
"enabled": true,
"login": "xxx",
"name": "Stripe Payment Intents",
"slug": "stripe_payment_intents",
"type": "gateway"
}
}
curl -X PUT https://api.moltin.com/v2/gateways/stripe_payment_intents \
-H "Authorization: Bearer XXX" \
-H "Content-Type: application/json" \
-d $'{
"data": {
"enabled": true,
"login": "xxx"
}
}'