Skip to main content

Add To Mobile Wallet APIs

Get mobile wallet payload​

Get the mobile wallet encrypted payload for the specified card. The encrypted payload is unique per issuance and is required as part of the SDK integration.

Important Info

Please note that the Sandbox URL for this operation includes a "secure" prefix: https://secure.api.s.unit.sh. Please contact Unit for the Live URL.

VerbPOST
URLhttps://secure.api.s.unit.sh/cards/:id/mobile-wallet-payload
Required Scopecards
Timeout (Seconds)5

Attributes​

NameTypeDescription
signedNonce RequiredstringThe signedNonce received from the Visa SDK
Example Request:
curl -X POST 'https://secure.api.s.unit.sh/cards/1/mobile-wallet-payload'
-H 'Content-Type: application/vnd.api+json'
-H 'Authorization: Bearer ${TOKEN}'
--data-raw '{
"data": {
"attributes": {
"signedNonce": "eyJle..."
}
}
}'

Response​

Response is a JSON:API document.

200 OK​

NameTypeDescription
dataMobileWalletPayloadA JSON object containing the encrypted payload.
Example Response:
{
"data": {
"type": "mobileWalletPayload",
"attributes": {
"payload": "eyJhbGciOi..."
}
}
}