Migration

Migrate card to different program [beta]

Migrate a card to a different program. It is possible to migrate from a Zero balance program to a Full balance program and vice-versa.

This endpoint generates two events:

Notes:

  • This endpoint REQUIRES an account token—an access token encoded with a Pismo account ID.

  • For combination cards, this endpoint migrates the card mode the card was originally created with. To migrate the secondary mode, call the Migrate card mode endpoint.

patch/wallet/v2/cards/{cardId}/program-migration

Request

  • Base URL
    https://sandbox.pismolabs.io
  • URL
    https://sandbox.pismolabs.io/wallet/v2/cards/{cardId}/program-migration
  • Auth
    HTTP bearer

Path parameters

cardIdstring required

Pismo card ID

Headers

x-customer-idinteger required

Pismo customer ID

Request body

new_program_idinteger required

Pismo program ID

Example request

{
  "new_program_id": 7654
}

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.