Configure Authorize.net

You can configure Authorize.net programatically using the /gateways/authorize_net endpoint.

The Authorize.net gateway object

Attribute

Type

Descripttion

login

string

Your live or test API Login ID

password

string

Your live or test Transaction Key

type

string

This will always be gateway

name

string

The display name of the gateway

slug

string

A unique slug for this gateway

enabled

boolean

true or false that will enable the gateway

test

boolean

true or false that will enable test mode

Update Authorize.net Settings

PUT https://api.moltin.com/v2/gateways/authorize_net

Headers

NameTypeDescription

Authorization

string

The Bearer token to grant access to the API

Request Body

NameTypeDescription

login

string

Authorize.net API Login ID

password

string

Authorize.net Transaction Key

enabled

string

true, false

test

string

true, false

curl -X PUT https://api.moltin.com/v2/gateways/authorize_net \
     -H "Authorization: Bearer XXX" \
     -H "Content-Type: application/json" \
     -d $'{
       "data": {
         "enabled": true,
         "login": "xxx",
         "password": "xxx",
         "test": true
       }
     }'

Last updated