Wallet Decryption

Create a card

post
/cards

The Create Card allows clients to register a digital wallet credential in the Credential Management Platform (CMP) using an encrypted wallet payment token. Supported wallet types include Apple Pay.

The request accepts the encrypted wallet payload, which is securely decrypted by VGS to extract the underlying credential details and create a card linked to a specific account. Each request results in the creation of a new card and returns a 201 response with a new Card ID, even if the same DPAN or MPAN is submitted multiple times. Duplicate detection and deduplication logic are not supported for this card type.

The payment_method object (display_name, network, type) is optional in the request. If these fields are provided, their values will be echoed back in the response. If they are not included in the request, they will not be returned.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
Responses
post
/cards

Get a card

get
/cards/{card_id}

The Get API allows clients to retrieve details for a specific digital wallet credential using its unique cardID.

The response returns the stored card attributes derived from the decrypted wallet payload, including last four digits, expiration details, and any request-level attributes persisted at creation (such as payment_method, if provided). If payment_method fields were included during creation, they will be returned in the response. If not provided, they will not be present.

cryptogram, currencyCode, transactionId, and amount are not returned in the GET response, as these are single-use wallet artifacts and are not persisted.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
card_idstringRequired
Responses
chevron-right
200

Item requested by ID

application/vnd.api+json
get
/cards/{card_id}

Last updated