Presets
Attach a preset
Attach a saved preset to one of a user’s stored cards. Only the purchases paid with that card are judged.
PUT
A preset applies only where it is attached. Attach it to a stored card and every purchase paid with that card is judged. A cap counts the purchases paid with that card. Attaching twice is one attachment. Takes a platform access token or an API key. See Set rules on a card.
A preset attached to a card is judged when your agent opens the purchase if the card is already known, because the agent pinned it with
Errors.
card_id or the user has exactly one stored card; otherwise it is judged right before the card is sent, once the user has unlocked it.
string
required
The preset’s name.
string
required
card.string
required
A stored card id from List a user’s vaulted cards or the
vault.card_stored event.404 preset_not_found when no preset of that name is saved. 404 card_not_found when the card id is not a card stored by one of your users. 400 invalid_request for a kind other than card, or a missing target_id.