• Payments/
    Payment Gateways API/
    Configure CyberSource

    Configure CyberSource

    You can configure CyberSource by using the /gateways/cyber_source endpoint.

    The CyberSource gateway object

    AttributeTypeDescription
    loginstringYour live or test CyberSource merchant ID.
    passwordstringYour live or test CyberSource SOAP key.
    typestringEnter gateway.
    namestringThe display name of the gateway.
    slugstringA unique slug for the gateway.
    enabledbooleanEnter true or false to enable or disable the gateway.
    testbooleanEnter true or false to enable or disable test mode for the gateway.

    Sample Object

    {
      "data": {
        "enabled": true,
        "test": true,
        "login": "xxx",
        "password": "xxx",
        "name": "CyberSource",
        "slug": "cyber_source",
        "type": "gateway"
      }
    }
    

    PUT Update CyberSource settings

    https://api.moltin.com/v2/gateways/cyber_source
    

    Parameters

    Headers

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

    Body

    NameRequiredTypeDescription
    enabledOptionalbooleanEnter true or false to enable or disable the gateway.
    testOptionalbooleanEnter true or false to enable test mode for the gateway.
    loginOptionalstringYour live or test CyberSource merchant ID.
    passwordOptionalstringYour live or test CyberSource SOAP key.

    Request Example

    curl -X PUT https://api.moltin.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"
        }
    }
    

    Was this helpful?

    Previous
    Configure CardConnect