Retrieve the current active buy cart
| Field | Type | Description |
|---|---|---|
cartId | string | Cart UUID — use this for all cart operations |
cards | array | Cards currently in the cart |
couponData | object|null | Applied coupon details, or null |
| Field | Type | Description |
|---|---|---|
id | string | Card UUID within the cart |
merchant | integer | Merchant ID |
merchantName | string | Merchant display name |
merchantImage | string | Merchant logo URL |
balance | number | Face value |
cost | number | Price after discount |
quantity | integer | Number of cards of this type |
percentOff | number | Discount percentage |
type | string | Card type (physical, ecode, newEcodeB2B, etc.) |
isLowRisk | boolean|null | Whether card is from a trusted seller |
| Field | Type | Description |
|---|---|---|
id | integer | Coupon ID |
type | string | P (percentage), F (fixed credit), S (promo credit) |
coupon | string | Coupon code |
totalAmount | number | Coupon amount |
discount | number | Actual discount applied |
description | string | Display text (e.g., “10% OFF”) |
expires | string | Expiry date (MM/DD/YYYY) |
cards | array | Per-card discount breakdown |
buyCart will be an empty object {}