CREATE_SHARE_LINK scope. Basic auth is rejected. Contact your sales rep to enable access. See Authentication.
How it works
You generate links
generateVCShareLinks with the offer, card limit, quantity, funding source, and a delivery method. Each link represents one card with its own limit, funded from the spend account you specify.Fluz creates a share request per link
PENDING) and one hosted URL.The link is delivered
GENERATE_URL you get the URLs back to distribute yourself. With EMAIL or PHONE_NUMBER, Fluz delivers a link to each recipient for you.The recipient activates and claims the card
Availability & scope
VIRTUAL_CARD and the card type is SINGLE_LOAD.
Operation reference
There are three public operations, all gated by theCREATE_SHARE_LINK scope:
POST https://<your-fluz-api-host>/api/v1/graphql with an Authorization: Bearer <access_token> header. The token must carry the CREATE_SHARE_LINK scope — without it, every operation returns “Missing permissions! Please contact your sales rep to get access to generate VC share links.”
generateVCShareLinks
Createsquantity share requests and returns one hosted link per request.
Input fields
userCashBalanceId), and it must belong to your (the sender’s) account. Additional funding sources (bank account, bank card, prepayment/rewards balance) are not yet available.Delivery methods (shareMethod)
Validation rules
cardLimitmust be a whole number and at least the program minimum.offerIdmust be a valid UUID v4 for an active offer whose merchant is shareable.quantitymust be a whole number.- When delivering by
EMAILorPHONE_NUMBER, the matching recipient list length must equalquantity. Mismatches return a clear error and create no records. - Only one funding source may be supplied.
userCashBalanceIdmust be a valid UUID v4 owned by the sender’s account. - Invalid card types or malformed inputs return clear errors and create no records.
Examples
Response
shareLinks is an array of hosted URLs, one per quantity, each of the form https://fluz.app/virtual-prepaid-card/{share_request_id}.
getVCShareLinks
Lists previously generated share links so you can inspect status, recipients, expiration, and the issued card.Input fields
Response fields (GeneratedShareLink)
Examples
deactivateVCShareLinks
Deactivates (expires) links you generated — for example, if a batch was sent in error or you need to revoke unclaimed links. Deactivating a link sets it toEXPIRED; an unclaimed link can no longer be claimed.
Input fields
getVCShareLinks.
"3 share requests successfully deactivated!".
The recipient experience
When a recipient opens a hosted link (https://fluz.app/virtual-prepaid-card/{share_request_id}):
Landing & sign-in
Two-factor authentication
Billing address (if needed)
PIN (if not yet issued)
Card issued & claimed
Use the card
Expiration & freeze
The link’s expiration date does double duty:- Link expiration — after this date, an unclaimed link can no longer be claimed.
- Card freeze / lock date — for an issued card, this is the lock date (end of that day). After it, the card is frozen and cannot be spent.
- Card expiry is aligned to the end of the month of the freeze date (e.g., a freeze date of 6/15/2026 yields a card expiry of 6/30/2026).
daysUntilExpiration at generation time. If omitted, the program default (30 days) is used. This date is shown to the recipient (typically as a “Valid until” date).
Program rules to communicate to recipients
These are program-level rules for hosted (open-loop) virtual cards. Confirm the exact values for your program with your Fluz representative — several are partner-negotiated.Status & error reference
Share object statuses
Recipient-facing link errors
Common API errors
Notes & limitations
- Returned URL is the hosted destination, not a short link. Internally, links are also wrapped by a short-link provider, but the API returns the canonical hosted URL (
/virtual-prepaid-card/{share_request_id}). Distribute the URL exactly as returned. userCashBalanceIdis effectively required even though the schema marks it optional.- Hidden/internal fields are not part of this API. Object type and card type are fixed (
VIRTUAL_CARD/SINGLE_LOAD) and other funding-source fields are not yet enabled; do not send them. - Gift-card hosted links are not supported. This API is for virtual cards only.