Composable Frontend 2.0 Learn more 

  • Payments/
    Payment Gateways API/
    Configure Stripe Payment Intents

    Configure Stripe Payment Intents

    PUT Update Stripe Payment Intent settings

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

    Use /gateways/stripe_payment_intents endpoint to configure Stripe Payment Intents.

    Parameters

    Headers

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

    Body

    AttributeRequiredTypeDescription
    loginRequiredstringSpecifies the Stripe secret key for your account that is in live or test mode.
    enabledOptionalbooleanSpecifies whether the gateway is enabled. Set true to enable the gateway and false to disable the gateway. Default is false.

    Request Example

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

    Response Example

    200 OK

    {
      "data": {
        "enabled": true,
        "login": "xxx",
        "name": "Stripe Payment Intents",
        "slug": "stripe_payment_intents",
        "type": "gateway"
      }
    }
    
    Previous
    Configure Stripe Connect