Composable Frontend 2.0 Learn more 

  • Payments/
    Payment Gateways API/
    Configure Authorize.net

    Configure Authorize.net

    PUT Update Authorize.net Settings

    https://useast.api.elasticpath.com/v2/gateways/authorize_net
    

    Use this endpoint to configure Authorize.net.

    Parameters

    Headers

    NameRequiredTypeDescription
    AuthorizationRequiredstringThe Bearer token required to get access to the API.

    Body

    NameRequiredTypeDescription
    loginRequiredstringRepresents Authorize.net API Login ID.
    passwordRequiredstringIndicates Authorize.net Transaction Key.
    slugOptionalstringSpecifies a unique slug for this gateway.
    enabledOptionalbooleanSpecifies whether the gateway is enabled or disabled. Set true to enable the gateway and false to disable the gateway. Default is false.
    testOptionalbooleanSpecifies 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.

    Request Example

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

    Response Example

    200 OK

    {
        "data": {
            "enabled": true,
            "login": "xxx",
            "name": "Authorize.net",
            "password": "xxx",
            "slug": "authorize_net",
            "test": true,
            "type": "gateway"
        }
    }
    
    Previous
    Configure Adyen