PaymentIntentCreated
Response for creating a payment intent
Properties
| Property | Type | Required | Description |
|---|---|---|---|
amount_cents |
integer | Yes | Amount to be charged, in cents. |
amount_usd |
string | Yes | Amount to be charged, in USD. |
client_secret |
string | Yes | |
currency |
CurrencyCode | Yes | |
payment_intent_id |
StripePaymentIntentId | Yes |
View JSON Schema
{
"type": "object",
"description": "Response for creating a payment intent",
"required": [
"payment_intent_id",
"client_secret",
"amount_cents",
"amount_usd",
"currency"
],
"properties": {
"amount_cents": {
"type": "integer",
"format": "int64",
"description": "Amount to be charged, in cents."
},
"amount_usd": {
"type": "string",
"description": "Amount to be charged, in USD."
},
"client_secret": {
"type": "string"
},
"currency": {
"$ref": "#/components/schemas/CurrencyCode"
},
"payment_intent_id": {
"$ref": "#/components/schemas/StripePaymentIntentId"
}
}
}