{
"amount": {
"amount": 10,
"currency": "KWD"
},
"gatewayType": "TABBY",
"type": "BNPL",
"ownerId": "{cart_id}",
"ownerType": "BLC_CART",
"owningUserEmailAddress": "card.success@tabby.ai",
"owningUserType": "BLC_CUSTOMER",
"billingAddress": {
"fullName": "...",
"addressLine1": "...",
"addressLine2": "...",
"city": "City name",
"stateProvinceRegion": "WA",
"country": "US",
"postalCode": "12345",
"phonePrimary": {
"countryCode": null,
"phoneNumber": "+96590000001",
"extension": null
},
"default": false,
"active": true
},
"paymentMethodProperties": {
"bnpl_type": "PAY_IN_4", // (1)
"payment": "{\"buyer\":{\"phone\":\"+96590000001\",\"email\":\"card.success@tabby.ai\",\"name\":\"Priscilla Riggs\"},\"shipping_address\":{\"city\":\"City name\",\"address\":\"44 Nobel Road\",\"zip\":\"12345\"},\"order\":{\"reference_id\":\"{cart_id}\",\"items\":[{\"title\":\"Test\",\"quantity\":1,\"unit_price\":\"10\",\"reference_id\":\"01HKQ0PE42ETEM1NAH678R0HQE\",\"category\":\"Top Sellers\"}]}}", // (2)
"lang": "en",
"merchant_urls": "{\"success\":\"https://heatclinic.localhost:8456/api/cart-operations/checkout/${cartId}/payment-callback/TABBY?tenantId=${tenantId}&applicationId=${applicationId}\",\"cancel\":\"https://heatclinic.localhost:8456/api/cart-operations/checkout/${cartId}/payment-callback/TABBY?tenantId=${tenantId}&applicationId=${applicationId}\",\"failure\":\"https://heatclinic.localhost:8456/api/cart-operations/checkout/${cartId}/payment-callback/TABBY?tenantId=${tenantId}&applicationId=${applicationId}\"}", // (3)
"merchant_code": "{merchant_code}"
}
}