PomeloEx. Cards. Associations. Associations
(PomeloEx v0.1.0)
View Source
Card-to-user-account linking.
Manages the linking and unlinking of cards to user accounts. Multiple cards can be linked to the same account (e.g., one virtual and one physical card).
Requirements
- Both the account and card must have "Active" status
- The account and card must belong to the same user
- A card can only be linked to one account per currency
Summary
Functions
Link card The endpoint Post /cards/associations/v1 enables you to link a card with a Pomelo user account. Multiple cards can be linked with the same account. For example, it is possible to link a virtual card and a physical card.
Search associations The Get /cards/associations/v1 endpoint allows you to search for a group of associations.
Unlink card The Delete /cards/associations/v1 endpoint enables you to unlink a card from an account.
Functions
Link card The endpoint Post /cards/associations/v1 enables you to link a card with a Pomelo user account. Multiple cards can be linked with the same account. For example, it is possible to link a virtual card and a physical card.
Considerations The account and the card to be linked must have an “Active” status. The account and the card to be linked must belong to the same user. A card can only be linked to one account in each currency. In case you need to link the card with another account with the same currency, you must first delete the existing link before creating a new one.
Search associations The Get /cards/associations/v1 endpoint allows you to search for a group of associations.
Considerations# Filters must be specified as parameters following this pattern: filter[campo]=valor. For example: /cards/associations/v1?filter[card_id]=crd-20I5vMjljS3VEyafcX8lA3T3g0c
Filtering by at least one of the allowed fields is required
The results will be paginated and you can specify which page to view using: page[number]=value.
Unlink card The Delete /cards/associations/v1 endpoint enables you to unlink a card from an account.
Considerations# The account and card must have been previously linked.