Rebrand 2023 Learn more 

  • Payments/
    Payment Gateways API/
    Configure CardConnect

    Configure CardConnect

    PUT Update CardConnect settings

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

    Use this endpoint to configure CardConnect.

    Parameters

    Headers

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

    Body

    NameRequiredTypeDescription
    merchant_idRequiredstringSpecifies your CardConnect Merchant ID.
    usernameRequiredstringRepresents your CardConnect username.
    passwordRequiredstringIndicates your CardConnect password.
    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/card_connect \
         -H "Authorization: Bearer XXX" \
         -H "Content-Type: application/json" \
         -d $ {
           "data": {
             "merchant_id": "xxx",
             "username": "xxx"
             "password": "xxx",
             "test": false,
             "enabled": false
           }
         }
    

    Response Example

    200 OK

    {
      "data": {
        "slug": "card_connect",
        "name": "CardConnect",
        "merchant_id": "xxx",
        "username": "xxx",
        "password": "xxx",
        "test": false,
        "enabled": false,
        "type": "gateway"
      }
    }
    
    Previous
    Configure Braintree