Multi API endpoints and Push Provisioning
From a push provisioning perspective, there are two key endpoints (related to cards) where you can provide information related to push provisioning:
Method | Endpoint | Description |
---|---|---|
POST | /multi/managed_cards | Create a managed card |
PATCH | /multi/managed_cards/{id} | Update a managed card |
Within the highlighted endpoints, the following optional parameters are available, and they must be set appropriately in order for a card to work with Apple Pay and Google Pay. The attributes are the following (extract from the specification document):
Attributes | Description |
---|---|
pushProvisioningEnabled | Boolean attribute used only if the card should be enabled for push provisioning. |
walletsEnabled | Boolean attribute indicates whether the card is enabled for tokenisation in a digital wallet. This attribute should apply for both Push and Manual provisioning. |
artworkReference | Weavr-provided reference that identifies the artwork to be shown character value, on the mobile device. |
UIImage(named:"<image name>")?.cgImage | Convert UIImage to CGImage Imagename from asset |