Access Links
Create an access link
Changed onCreates a shareable access link for one card. Anyone with the link can use a limited card widget — card details, add to wallet, and the cardholder's personal details — without a Pliant account. Treat the link as sensitive.
Save accessLink from the response. You receive it only once. Creating another link for a card that already has an active link replaces that previous link; the old URL stops working.
The card must belong to organizationId, must not be expired or terminated, and the card product must allow access links. Locked cards are allowed. Expiry and how many times the link can be opened are set by Pliant.
post/access-links
Request
- Base URLhttps://partner-api.getpliant.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"grants": [
{
"linkType": "CARD_WIDGET"
}
]
}Response
Ok
Example response
{
"grants": [
{
"linkType": "CARD_WIDGET",
"resourceType": "card"
}
]
}Changes
- info
endpoint added
- info