Skip to main content

Add To Mobile Wallet

Mobile wallets are a convenient way to pay with your debit cards using your smartphone.

Use Visa's In-App Provisioning SDK to enable this capability for your end-users.

Contact Unit for the SDK's documentation and binaries.

SDK Integration

An AppID is required when calling the SDK's initialize method:

NameAppID
Sandboxb8186bd9-fcba-b77a-11e3-1c0d2e5a3501
LivePlease contact Unit

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.

caution

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
signedNoncestringThe 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

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