stripe_gateways

Update a stripe gateway

Changed on

Update a stripe gateway

patch/stripe_gateways/{stripeGatewayId}

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/stripe_gateways/{stripeGatewayId}
  • Auth
    HTTP bearer

Path parameters

stripeGatewayIdstring required

The resource's id

Request body

Example request

{
  "data": {
    "id": "XAyRWNUzyN",
    "attributes": {
      "name": "US payment gateway",
      "force_payments": true,
      "idempotency_window_mins": 60,
      "_disable": true,
      "_enable": true,
      "reference": "ANY-EXTERNAL-REFEFERNCE",
      "reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
      "metadata": {
        "foo": "bar"
      },
      "_check": true,
      "connected_account": "acct_xxxx-yyyy-zzzz",
      "auto_payments": true,
      "_refresh_webhook_secrets": true,
      "_update_webhooks": true
    }
  }
}

Response

The updated stripe gateway object

Changes

    • info

      added the new optional request property //

    • info

      added the optional property // to the response with the status

    • info

      added the new optional request property //

    • info

      added the new optional request property //