Update Stripe Gateway
PUThttps://useast.api.elasticpath.com/v2/gateways/stripe
Use this endpoint to configure Stripe.
Request
- application/json
Body
data object
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
{
"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"
}
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PUT 'https://useast.api.elasticpath.com/v2/gateways/stripe' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"data": {
"enabled": true,
"login": "string"
}
}'
ResponseClear