Payments
Confirm Stripe payment intent
Authentication v1
- Identity APIs
- User
- Address
- Auth
User Self Service APIs
- Introduction
- User Self Service APIs
- Authentication APIs
Experiences v2 (XM v2)
- XM
- Pages
- Global Components
- Menu
Experiences v1 (XM v1)
- XM
- Pages
- Global Components
- Menu
Product Catalog
- Product Catalog
- Category
- Product
- Attributes
- Bulk Import
Orders v2 (OMS v2)
- Order Management System
- Order
- Order Attribute
- Developer Guide
- Order Return
- Payment Status
- Package Tracking
- Cross Border
- Order Cancellation
- Appeasement
- Allocation
- Configuration
- Fraud Configuration
- Target Configuration
- Location
- Location Attribute
- Inventory Network
- Inventory
- Inventory Counter
- Inventory Bulk Operation
- Inventory Attribute
- Inventory Upload Log
- Shipment
- Shipping Method
- Webhook
- Notification
- Export
- Invoice
- Fraud
- Backorder Preorder Reservation
- List
Orders v1 (OMS v1)
- Order Management System
- Cart
- Bill To
- Ship To
- Wishlist
- Cart Decoupled
- Warehouse
- Inventory
- Attributes
- List
- Tax/Address Validate
- Shipping
- Payments
- Order
Offers v2
- Offers
- Developer Guide
- Promotion
- Price Kind
- Dynamic Pricing Engine
- Segment
- Coupon
- Coupon Codes
- Product
- Price List
- Attributes
- Item
- Price Guard
- Global Exclusion
- Upload Price CSV
- Pricing
- Redemption
- Exports
Offers v1
- Offers
- Login API
- Promotions
- Pricing
Subscriptions (SMT API)
- Subscriptions API
- Cancellation Reasons
- Subscription Discounts
- Subscriptions
- Subscribers
- Orders
Loyalty (Member)
- Member APIs
- Inquire
- Discounts
- Redeem
- Earn
- Members
Dropship
- Dropship API
- Shipments
- Products
- Invoices
- Connections
- Inventory
- Developer Guide
- Returns
- Orders
Cart API
- Cart
- Order Draft
- Attribute
- Adjustments
- Shipping
- Cart
Checkout API
- Checkout
- Checkout
Customer
- Core Concepts
- Customer Service
- Organization
- User Party
- Organization Group Addresses
- User Internal Party
- Organization Contracts
- Party
- Party Contracts
- Contracts
- User
- Search
- User Trait
- Organization Users
- Address
- User Address
- Trait
- Party Address
- Party Trait
- Organization Group Users
- Internal Party
- Contract Pricelist
- Internal Parties Party
- Account
- Party Account
- Organization Addresses
- Organization Groups
- Individual Addresses
- Users Organization
- Individual
Payments
Confirm Stripe payment intent
Confirm Stripe payment intent
POST
/
ext-stripe
/
payment-intent
/
confirm
/
{paymentIntentId}
curl --request POST \
--url https://prod01-apigw.{customer_name}.fabric.zone/ext-stripe/payment-intent/confirm/{paymentIntentId} \
--header 'Content-Type: application/json' \
--data '{
"payment_method": "pi_1GsyhzFbKq2PvwXbwAI3ZluI",
"receipt_email": "joedoe@fabric.inc",
"setup_future_usage": "off_session"
}'
{
"id": "pi_1GsyhzFbKq2PvwXbwAI3ZluI",
"object": "payment_intent",
"amount": 1000,
"amount_capturable": 0,
"amount_received": 0,
"application": "<string>",
"application_fee_amount": 123,
"canceled_at": "<string>",
"cancellation_reason": "<string>",
"capture_method": "manual",
"client_secret": "pi_1GsyhzFbKq2Pvw1bwAI3ZluI_secret_GKG6hcap7VCggeoqJICAqSsRW",
"confirmation_method": "automatic",
"created": 1591913835,
"currency": "usd",
"customer": "<string>",
"description": "<string>",
"invoice": "<string>",
"last_payment_error": "<string>",
"livemode": true,
"metadata": {},
"next_action": "<string>",
"on_behalf_of": "<string>",
"payment_method": "<string>",
"payment_method_options": {
"card": {
"installments": "<string>",
"network": "<string>",
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"receipt_email": "<string>",
"review": "<string>",
"setup_future_usage": "on_session",
"shipping": "<string>",
"source": "<string>",
"statement_descriptor": "<string>",
"statement_descriptor_suffix": "<string>",
"status": "requires_payment_method",
"transfer_data": "<string>",
"transfer_group": "<string>",
"billing_details": {
"address": {
"line1": "3520 Millenio",
"line2": "Crowley Drive",
"city": "Vancouver",
"state": "BC",
"country": "CA",
"postal_code": "V5R 6G9"
},
"name": "John Smith",
"email": "john@fabric.inc",
"phone": "123-456-7890"
},
"charges": {
"object": "list",
"data": [
{
"id": "ch_1GszZAFbKq2PvwXbWRHwiXg0",
"object": "charge",
"amount": 1500,
"amount_refunded": 0,
"application": "<string>",
"application_fee": "<string>",
"application_fee_amount": "<string>",
"balance_transaction": "<string>",
"calculated_statement_descriptor": "Stripe",
"captured": false,
"created": 1591917132,
"currency": "usd",
"customer": "<string>",
"description": "<string>",
"destination": "<string>",
"dispute": false,
"disputed": "<string>",
"failure_code": "<string>",
"failure_message": "<string>",
"fraud_details": {},
"invoice": "<string>",
"livemode": false,
"metadata": "<string>",
"on_behalf_of": "<string>",
"order": "<string>",
"outcome": {
"network_status": "approved_by_network",
"reason": "<string>",
"risk_level": "normal",
"risk_score": 7,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1GsyhzFbKq2PvwXbwAI3ZluI",
"payment_method": "pm_1GszYCFbKq2PvwXb2CDbdZOP",
"payment_method_details": {
"card": {
"brand": "visa",
"checks": {
"address_line1_check": "<string>",
"address_postal_code_check": "pass",
"cvc_check": "pass"
},
"country": "US",
"exp_month": 3,
"exp_year": 2023,
"fingerprint": "KYFNiC9k7gBUEnMg",
"funding": "credit",
"installments": "<string>",
"last4": "4242",
"network": "visa",
"three_d_secure": "<string>",
"wallet": "<string>"
},
"type": "card"
},
"receipt_email": "<string>",
"receipt_number": "<string>",
"receipt_url": "https://pay.stripe.com/receipts/acct_1GrptTFbKq2PvwXb/ch_1GszZAFbKq2PvwXbWRHwiXg0/rcpt_HRtLuMrk7E5VQ1rLWNVzKrXHFZHHczr",
"refunded": false,
"refunds": {
"object": "list",
"data": [
"<any>"
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1GszZAFbKq2PvwXbWRHwiXg0/refunds"
},
"review": "<string>",
"shipping": "<string>",
"source": "<string>",
"source_transfer": "<string>",
"statement_descriptor": "<string>",
"statement_descriptor_suffix": "<string>",
"status": "succeeded",
"transfer_data": "<string>",
"transfer_group": "<string>"
}
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges?payment_intent=pi_1GsyhzFbKq2PvwXbwAI3ZluI"
}
}
Headers
Path Parameters
Payment intent Id.
Body
application/json
Available options:
on_session
, off_session
Response
200
application/json
Confirm stripe payment intent
Was this page helpful?
curl --request POST \
--url https://prod01-apigw.{customer_name}.fabric.zone/ext-stripe/payment-intent/confirm/{paymentIntentId} \
--header 'Content-Type: application/json' \
--data '{
"payment_method": "pi_1GsyhzFbKq2PvwXbwAI3ZluI",
"receipt_email": "joedoe@fabric.inc",
"setup_future_usage": "off_session"
}'
{
"id": "pi_1GsyhzFbKq2PvwXbwAI3ZluI",
"object": "payment_intent",
"amount": 1000,
"amount_capturable": 0,
"amount_received": 0,
"application": "<string>",
"application_fee_amount": 123,
"canceled_at": "<string>",
"cancellation_reason": "<string>",
"capture_method": "manual",
"client_secret": "pi_1GsyhzFbKq2Pvw1bwAI3ZluI_secret_GKG6hcap7VCggeoqJICAqSsRW",
"confirmation_method": "automatic",
"created": 1591913835,
"currency": "usd",
"customer": "<string>",
"description": "<string>",
"invoice": "<string>",
"last_payment_error": "<string>",
"livemode": true,
"metadata": {},
"next_action": "<string>",
"on_behalf_of": "<string>",
"payment_method": "<string>",
"payment_method_options": {
"card": {
"installments": "<string>",
"network": "<string>",
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"receipt_email": "<string>",
"review": "<string>",
"setup_future_usage": "on_session",
"shipping": "<string>",
"source": "<string>",
"statement_descriptor": "<string>",
"statement_descriptor_suffix": "<string>",
"status": "requires_payment_method",
"transfer_data": "<string>",
"transfer_group": "<string>",
"billing_details": {
"address": {
"line1": "3520 Millenio",
"line2": "Crowley Drive",
"city": "Vancouver",
"state": "BC",
"country": "CA",
"postal_code": "V5R 6G9"
},
"name": "John Smith",
"email": "john@fabric.inc",
"phone": "123-456-7890"
},
"charges": {
"object": "list",
"data": [
{
"id": "ch_1GszZAFbKq2PvwXbWRHwiXg0",
"object": "charge",
"amount": 1500,
"amount_refunded": 0,
"application": "<string>",
"application_fee": "<string>",
"application_fee_amount": "<string>",
"balance_transaction": "<string>",
"calculated_statement_descriptor": "Stripe",
"captured": false,
"created": 1591917132,
"currency": "usd",
"customer": "<string>",
"description": "<string>",
"destination": "<string>",
"dispute": false,
"disputed": "<string>",
"failure_code": "<string>",
"failure_message": "<string>",
"fraud_details": {},
"invoice": "<string>",
"livemode": false,
"metadata": "<string>",
"on_behalf_of": "<string>",
"order": "<string>",
"outcome": {
"network_status": "approved_by_network",
"reason": "<string>",
"risk_level": "normal",
"risk_score": 7,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1GsyhzFbKq2PvwXbwAI3ZluI",
"payment_method": "pm_1GszYCFbKq2PvwXb2CDbdZOP",
"payment_method_details": {
"card": {
"brand": "visa",
"checks": {
"address_line1_check": "<string>",
"address_postal_code_check": "pass",
"cvc_check": "pass"
},
"country": "US",
"exp_month": 3,
"exp_year": 2023,
"fingerprint": "KYFNiC9k7gBUEnMg",
"funding": "credit",
"installments": "<string>",
"last4": "4242",
"network": "visa",
"three_d_secure": "<string>",
"wallet": "<string>"
},
"type": "card"
},
"receipt_email": "<string>",
"receipt_number": "<string>",
"receipt_url": "https://pay.stripe.com/receipts/acct_1GrptTFbKq2PvwXb/ch_1GszZAFbKq2PvwXbWRHwiXg0/rcpt_HRtLuMrk7E5VQ1rLWNVzKrXHFZHHczr",
"refunded": false,
"refunds": {
"object": "list",
"data": [
"<any>"
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1GszZAFbKq2PvwXbWRHwiXg0/refunds"
},
"review": "<string>",
"shipping": "<string>",
"source": "<string>",
"source_transfer": "<string>",
"statement_descriptor": "<string>",
"statement_descriptor_suffix": "<string>",
"status": "succeeded",
"transfer_data": "<string>",
"transfer_group": "<string>"
}
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges?payment_intent=pi_1GsyhzFbKq2PvwXbwAI3ZluI"
}
}