Update Authorize.net Gateway
PUT/v2/gateways/authorize_net
Use this endpoint to configure Authorize.net.
Request
- application/json
Body
data object
Represents Authorize.net API Login ID.
Indicates Authorize.net Transaction Key.
Specifies a unique slug for this gateway.
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
.
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": "string",
"name": "{gatewayName}",
"type": "gateway",
"password": "authorize-net-transaction-key",
"signature": "string",
"slug": "{gatewaySlug}",
"test": false
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}