Stripe · Example Payload

Stripe Create Payment Intent Example

CommerceFinancial ServicesFintechPaymentsT1

Stripe Create Payment Intent Example is an example object payload from Stripe, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.stripe.com/v1/payment_intents",
    "headers": {
      "Authorization": "Bearer sk_test_...",
      "Content-Type": "application/x-www-form-urlencoded"
    },
    "body": {
      "amount": 2000,
      "currency": "usd",
      "customer": "cus_NffrFeUfNV2Hib",
      "payment_method_types[]": "card",
      "description": "Order #12345",
      "metadata[order_id]": "12345"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "id": "pi_3NrJaN2eZvKYlo2C0Vd5ghiA",
      "object": "payment_intent",
      "amount": 2000,
      "amount_capturable": 0,
      "amount_received": 0,
      "currency": "usd",
      "status": "requires_payment_method",
      "customer": "cus_NffrFeUfNV2Hib",
      "description": "Order #12345",
      "payment_method": null,
      "capture_method": "automatic",
      "confirmation_method": "automatic",
      "client_secret": "pi_3NrJaN2eZvKYlo2C0Vd5ghiA_secret_...",
      "created": 1694184073,
      "livemode": false,
      "metadata": {
        "order_id": "12345"
      }
    }
  }
}