POST

https://prod01-apigw.{customer_name}.fabric.zone

/
api-payment
/
payment
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

x-api-key
string

Body

application/json
cartId
string
required
Required string length: 24
paymentDetails
object
required
billToAddress
object
required

Response

200 - application/json
billToAddress
object
required
_id
string
createdAt
string
updatedAt
string
paymentDetails
object
version
number
cartId
string
isValid
boolean