Skip to main content
POST
Confirm Stripe payment intent

Headers

x-api-key
string
Example:

"0LybWR49k95cCwYh3cu0waCYoh4H2Eux2J52wn4k"

Path Parameters

paymentIntentId
string
required

Payment intent Id.

Body

application/json
payment_method
string
Example:

"pi_1GsyhzFbKq2PvwXbwAI3ZluI"

receipt_email
string<email>
Example:

"joedoe@fabric.inc"

setup_future_usage
enum<string>
Available options:
on_session,
off_session
Example:

"off_session"

Response

Confirm stripe payment intent

id
string
Example:

"pi_1GsyhzFbKq2PvwXbwAI3ZluI"

object
string
Example:

"payment_intent"

amount
number
Example:

1000

amount_capturable
number
Example:

0

amount_received
number
Example:

0

application
string
application_fee_amount
number
canceled_at
string
cancellation_reason
string
capture_method
string
Example:

"manual"

client_secret
string
Example:

"pi_1GsyhzFbKq2Pvw1bwAI3ZluI_secret_GKG6hcap7VCggeoqJICAqSsRW"

confirmation_method
string
Example:

"automatic"

created
number
Example:

1591913835

currency
string
Example:

"usd"

customer
string
description
string
invoice
string
last_payment_error
string
livemode
boolean
metadata
object
next_action
string
on_behalf_of
string
payment_method
string
payment_method_options
object
payment_method_types
string[]
Example:
receipt_email
string
review
string
setup_future_usage
string
Example:

"on_session"

shipping
string
source
string
statement_descriptor
string
statement_descriptor_suffix
string
status
string
Example:

"requires_payment_method"

transfer_data
string
transfer_group
string
billing_details
object
charges
object