Migration
Migrate card mode [beta]
Migrate a card's mode to a different program.
Migrate a card's secondary mode (debit or credit) to a new program. If a combination card is initially created with a credit account (has a CREDIT mode), it gets migrated when the Migrate card to different program endpoint is called. However, if you wish to migrate the debit (secondary) mode, you need to call this endpoint.
This endpoint generates a Card migrated event.
Note: This endpoint REQUIRES an account token - an access token encoded with a Pismo account ID.
patch/wallet/v2/cards/{cardId}/mode/{modeId}/program-migration
Request
- Base URLhttps://sandbox.pismolabs.io/passport
- URLhttps://sandbox.pismolabs.io/passport/wallet/v2/cards/{cardId}/mode/{modeId}/program-migration
- Authnone declared
Path parameters
cardIdstring required
Pismo card ID
modeIdstring required
Card mode ID. For more information, refer to Create a combination card with card modes.
Request body
Example request
{
"new_program_id": 1010
}Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.