Activate Card by Barcode (Post-paid)

Endpoint: https://rest.virtualincentives.com/{version}/{format}/instant/cards/barcode/{barcode}/activate

Method: PUT

Definitions

FieldTypeDescription
amountrequired
decimal
The amount Denomination of the reward being issued.
Note: Currency is determined by the SKU requested.
pinrequired
integer
4-digit personal identification number assigned to the card to verify point-of-sale Debit transactions.
barcoderesponse only
integer
The unique id assigned to the card carrier’s barcode.
recipientidresponse only
integer
The unique id for this recipient.
balanceresponse only
decimal
Remaining card balance
stateresponse only
string(50)
Current state of the card after activation request: Active, Suspended, or Terminated.

Examples

Request XML

<card>
   <amount>1.00</amount>
   <pin>1597</pin>
</card>

Request JSON

{
  "card": {
    "amount": 1.00,
    "pin":"1597"
  }
}

Response XML

<card>
   <barcode>5789654132687</barcode>
   <pin>1597</pin>
   <recipientid>2654789</recipientid>
   <balance>1.00</balance>
   <state>ACTIVE</state>
</card>

Response JSON

{
  "card": {
    "barcode": "5789654132687",
    "pin":"1597",
    "recipientid" : "2654789",
    "balance": 1.00,
    "state": "ACTIVE"
  }
}

© Copyright 2019. All other rights reserved.