Apply Card
Last updated
Last updated
User Apply a card
POST
https://card-api-sandbox.pagsmile.com/issuing/card/apply
Name | Type | Description |
---|---|---|
Refer to : common
Biz_data
Name | Type | Description |
---|---|---|
Choose one of field holder_id and holder (obj).
Note: 201************11 is pagsmile's test app id for sandbox
Please use your own app_id when testing.
Name | Type | Description |
---|---|---|
Content-Type*
string
application/json; chartset=UTF-8
order_no*
string
Order number. Globally unique.
card_scheme*
integer
card_type*
integer
Card type.
Refer to :CardType
holder_id
long
Cardholder ID.
Choose one of field holder_id and holder (obj).
holder.mobile*
string(16)
Mobile,
needs to add an international area code
holder.first_name*
string(50)
First name
holder.last_name*
string(50)
Last name
holder.id_no*
string(6-20)
ID number
holder.id_type*
integer
Refer to :IdType
holder.issuance_date
string
Format:yyyy-MM-dd
holder.expires_on
string
Format:yyyy-MM-dd,
holder.email*
string(80)
holder.birthday*
string
Date of Birth
format: yyyy-MM-dd
holder.gender*
integer
Refer to: Gender
holder.nationality_code*
string(2)
Nationality code,
refer to CountryCode
holder.address.line*
string(12-128)
The first line of the address.
Format:CHARSETS_4
holder.address.line2
string(128)
The second line of the address.
Format:CHARSETS_4
holder.address.postal_code*
string(4-8)
The address zip code, or postal code
holder.address.city_name*
string(4-80)
holder.address.state*
string(4-48)
holder.address.country_code*
string(2)
Country code,
refer to CountryCode
holder_id
long
Cardholder ID
holder_name
string
Cardholder name
order_no
string
Order number
order_status
integer
Order status,
Refer to: OrderStatus
order_count
integer
order count
card_token
string
Card token
card_pan
string
Card pan
card_scheme
integer
card scheme
card_type
integer
card type