Skip to main content

Create a virtual prepaid card

The card object is the actual resource associated with the card issued out by Aiscpay. It holds details such as linked account.

Step 0. Authentication​

How to obtain access token Authentication Reference

Step 1. Initialize a Create Intent​

POST /mch-api/v1/issuing/cards/create

  • Example Request
{
"request_id": "C1",
"brand": "visa",
"channel": "alip",
"currency": "HKD",
"balance": "10.00",
"card_holder": {
"email": "example@qq.com",
"first_name": "Donald",
"last_name": "Trump",
"country": "US",
"street": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip_code": "94105"
}
}
  • Request
REQUEST BODYDetailsTypeRequiredExample
request_idThe merchant unique ID created in merchant's order system that corresponds to this card.string(32)required
balanceInitial balance top up into this new card (minimum 1 HKD)Decimalrequired"1.00"
currencyAmount currency (currently only support HKD)string(32)requiredHKD
brandvisa (fixed this value)requiredrequired
channelalip (fixed this value)requiredrequired
card_holderobjectrequired
- emailstringrequired
- first_namestringrequired
- last_namestringrequired
- countrystringrequired
- streetstringrequired
- citystringrequired
- statestringrequired
- zip_codestringrequired

You will get a response similar to the following.

{
"code": "success",
"data": {
"balance": "100",
"brand": "visa",
"card_id": "VC108603007011120321",
"card_issuance_status": "creating",
"card_status": "initialized",
"channel": "alip",
"currency": "HKD",
"fee": "0",
"request_id": "C1"
},
"message": "ok",
"rid": "b9017e11f6b349d98f8c2eace00463bb"
}

Step 2. Receive card detail webhook​

Once the card is created, we will send the card information back to your webhook address. Examples of detailed card information are shown below.

{
"notify_type": "card_create_success",
"data": {
"card_id": "VC108603007011120000",
"request_id": "VC108603007011120000",
"brand": "visa",
"channel": "alip",
"currency": "HKD",
"balance": "100",
"expire_year": "****",
"expire_month": "**",
"card_number": "****************",
"cvv": "***"
}
}