Update CyberSource Gateway
PUThttps://useast.api.elasticpath.com/v2/gateways/cyber_source
Use this endpoint to configure CyberSource.
Request
- application/json
Body
data object
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
{
"data": {
"enabled": true,
"login": "cybersource-merchant-id",
"name": "{gatewayName}",
"type": "gateway",
"password": "cybersource SOAP key",
"signature": "string",
"slug": "{gatewaySlug}",
"test": false
}
}
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/cyber_source' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"data": {
"enabled": true,
"test": true,
"login": "string",
"password": "string"
}
}'
ResponseClear