Update CyberSource Gateway
PUT/v2/gateways/cyber_source
Use this endpoint to configure CyberSource.
Request
- application/json
Body
data object
Specifies whether the gateway is enabled or disabled. Set true to enable the gateway and false to disable the gateway. Default is false.
Specifies whether the test account is enabled or disabled. Set true to enable the test account and false to disable the test account. Default is false.
Represents your live or test CyberSource merchant ID.
Indicates your live or test CyberSource SOAP key.
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
Specifies whether the gateway is enabled or disabled. Set true to enable the gateway and false to disable the gateway. Default is false.
Represents your login ID.
Represents the name of the gateway.
Specifies the type of object being returned.
Specifies your password.
Specifies the slug of the gateway.
Specifies whether the test mode is enabled. Set true to enable test mode and false to disable the test mode. Default is false.
{
"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
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}