Payments
Add payment to cart
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
Add payment to cart
Add payment to cart
POST
https://prod01-apigw.{customer_name}.fabric.zone
/
api-payment
/
payment
customer_name
string
customer_name
string
Customer name, provided by support team
x-api-key
string
x-api-key
string
Add Example Value
object
cartId
string
*
cartId
Required
string
paymentDetails
object
*
paymentDetails
Required
object
transactionDetails
object
*
transactionDetails
Required
object
paymentType
enum<string>
*
paymentType
Required
enum<string>
paymentToken
string
*
paymentToken
Required
string
amount
number
*
amount
Required
number
currency
string
*
currency
Required
string
billToAddress
object
*
billToAddress
Required
object
name
object
*
name
Required
object
first
string
*
first
Required
string
Add Example Value
last
string
*
last
Required
string
Add Example Value
email
string
*
email
Required
string
Add Example Value
phone
object
*
phone
Required
object
number
string
number
string
Add Example Value
kind
string
kind
string
Add Example Value
street1
string
*
street1
Required
string
Add Example Value
street2
string
street2
string
Add Example Value
city
string
*
city
Required
string
Add Example Value
state
string
*
state
Required
string
Add Example Value
country
string
*
country
Required
string
Add Example Value
zipCode
string
*
zipCode
Required
string
Add Example Value
curl --request POST \
--url https://prod01-apigw.{customer_name}.fabric.zone/api-payment/payment \
--header 'Content-Type: application/json' \
--data '{
"cartId": "60b90dd7308ded0008ee3c5d",
"paymentDetails": {
"transactionDetails": {
"paymentType": "CARD_STRIPE",
"paymentToken": "token-ads8f97o234jk324"
},
"amount": 50.25,
"currency": "USD"
},
"billToAddress": {
"name": {
"first": "John",
"last": "Smith"
},
"email": "ohnsmith@gmail.com",
"phone": {
"number": "07780811973",
"kind": "mobile"
},
"street1": "600 Congress Ave",
"street2": "suite 219",
"city": "Austin",
"state": "Tx",
"country": "US",
"zipCode": "10033"
}
}'
Headers
Body
application/json
Required string length:
24
Required string length:
3
Minimum length:
5
Response
200 - application/json
Minimum length:
5
Was this page helpful?
curl --request POST \
--url https://prod01-apigw.{customer_name}.fabric.zone/api-payment/payment \
--header 'Content-Type: application/json' \
--data '{
"cartId": "60b90dd7308ded0008ee3c5d",
"paymentDetails": {
"transactionDetails": {
"paymentType": "CARD_STRIPE",
"paymentToken": "token-ads8f97o234jk324"
},
"amount": 50.25,
"currency": "USD"
},
"billToAddress": {
"name": {
"first": "John",
"last": "Smith"
},
"email": "ohnsmith@gmail.com",
"phone": {
"number": "07780811973",
"kind": "mobile"
},
"street1": "600 Congress Ave",
"street2": "suite 219",
"city": "Austin",
"state": "Tx",
"country": "US",
"zipCode": "10033"
}
}'