• Payments/
    Payment Gateways API/
    Configure Stripe Connect

    Configure Stripe Connect

    PUT Update Stripe Connect settings

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

    Use the /gateways/stripe_connect endpoint to configure Stripe Connect in Elastic Path Commerce Cloud.

    You can contact Elastic Path sales or customer success team to get more information about Stripe Connect and to check whether it will work for you.

    Parameters

    Headers

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

    Body

    AttributeRequiredTypeDescription
    stripe_accountRequiredstringSpecifies the Stripe Connect account ID.
    typeRequiredstringSpecifies the type of the resource. You must use gateway. This field cannot be edited.
    nameOptionalstringSpecifies the display name of the gateway. This field cannot be edited.
    slugOptionalstringSpecifies a unique slug for this gateway. This field cannot be edited.
    enabledRequiredbooleanSpecifies whether the gateway is enabled. The options are true or false.
    testRequiredbooleanSpecifies whether the test mode is enabled. The options are true or false.

    Object example

    {
      "data": {
        "enabled": true,
        "stripe_account": "acct_xxx",
        "name": "Stripe Connect",
        "slug": "stripe_connect",
        "test": true,
        "type": "gateway"
      }
    }
    

    Request Example

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

    Response Example

    200 OK

    {
      "data": {
        "enabled": true,
        "test": true,
        "stripe_account": "acct_xxx",
        "name": "Stripe Connect",
        "slug": "stripe_connect",
        "type": "gateway"
      }
    }
    

    Was this helpful?

    Previous
    Configure Stripe