• Payments/
    Payment Gateways API/
    Configure Stripe Payment Intents

    Configure Stripe Payment Intents

    PUT Update Stripe Payment Intent settings

    https://api.moltin.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

    AttributeTypeDescription
    loginstringSpecifies the Stripe secret key for your account that is in live or test mode.
    typestringSpecifies the type of the resource. You must use gateway.
    namestringSpecifies the display name of the gateway.
    slugstringSpecifies a unique slug for this gateway.
    enabledbooleanSpecifies whether the gateway is enabled. The options are true or false.

    Object example

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

    Request Example

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

    Was this helpful?

    Previous
    Configure Stripe Connect