Composable Frontend 2.0 Learn more 

  • Payments/
    Payment Gateways API/
    Configure CyberSource

    Configure CyberSource

    PUT Update CyberSource settings

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

    Use this endpoint to configure CyberSource.

    Parameters

    Headers

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

    Body

    NameRequiredTypeDescription
    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.
    loginRequiredstringRepresents your live or test CyberSource merchant ID.
    passwordRequiredstringIndicates your live or test CyberSource SOAP key.

    Request Example

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

    Response Example

    200 OK

    {
        "data": {
            "enabled": true,
            "login": "merchant-id",
            "password": "soap-key",
            "slug": "cyber_source",
            "test": true,
            "type": "gateway"
        }
    }
    
    Previous
    Configure CardConnect