VM_API
English
  • 简体中文
  • English
  1. VM Card operation
VM_API
English
  • 简体中文
  • English
  • Integration Guide
  • Environment Configuration
  • Global Error Codes
  • Transaction Type Description
  • Card Status Description
  • VM Card operation
    • Get Account Balance
      POST
    • Get Card Product Code
      POST
    • Apply for Card
      POST
    • Card Details
      POST
    • Modify Card Limit(For credit line cards only)
      POST
    • Freeze/Unfreeze Card
      POST
    • Card Top-up(For prepaid cards only)
      POST
    • Card Refund(For prepaid cards only)
      POST
    • Transaction Records
      POST
    • Delete Card
      POST
  • Notification
    • WebHook
    • Card 3DS Notification
  • Get accessToken
    GET
  1. VM Card operation

Apply for Card

POST
/createCard
最后修改时间:2025-06-05 02:26:49
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandbox-api.vmcardio.com/createCard' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "product_code": "string",
    "first_name": "string",
    "last_name": "string",
    "amount": 0,
    "single_limit": 0,
    "day_limit": 0,
    "month_limit": 0,
    "label": "string",
    "card_address": {
        "address_line_one": "string",
        "address_line_two": "string",
        "city": "string",
        "state": "string",
        "country": "string",
        "post_code": "string"
    },
    "area_code": "string",
    "mobile": "string",
    "email": "string"
}'
响应示例响应示例
{
    "code": 200,
    "data": {
        "card_id": "b8a24270-4cfd-407c-ac2b-d38eff******"
    }
}

请求参数

Header 参数
Authorization
string 
可选
默认值:
{{Authorization}}
Body 参数application/json
product_code
string 
必需
Product code
first_name
string 
必需
Cardholder's first name
last_name
string 
必需
Cardholder's last name
amount
number 
必需
Amount – When product_code is set to share, this field specifies the total quota to be allocated.
single_limit
number 
可选
Single Transaction Limit for Quota Card – Defaults to the maximum limit of the given product_code if not specified.
day_limit
number 
可选
Daily limit for quota card. Defaults to the maximum for the product_code if not provided.
month_limit
number 
可选
Monthly limit for quota card. Defaults to the maximum for the product_code if not provided.
label
string 
可选
Card label
card_address
object 
可选
Address information
address_line_one
string 
必需
Address line 1 (required if card_address is provided)
address_line_two
string 
必需
Address line 2
city
string 
必需
City (required if card_address is provided)
state
string 
必需
State (required if card_address is provided)
country
string 
必需
Country (required if card_address is provided)
post_code
string 
必需
Postal code (required if card_address is provided)
area_code
string 
可选
Area code
mobile
string 
可选
Mobile number
email
string 
Email
可选
示例

返回响应

🟢200成功
application/json
Body
code
integer 
必需
data
object 
必需
card_id
string 
卡ID
必需
修改于 2025-06-05 02:26:49
上一页
Get Card Product Code
下一页
Card Details
Built with