API 文档

使用我们的API构建您的应用

快速开始

所有API请求都需要包含必要的请求头:

Content-Type: application/json
Authorization: Bearer YOUR_TOKEN
POST/api/auth/register

用户注册

请求体示例:

{
  "email": "string",
  "password": "string",
  "firstName": "string",
  "lastName": "string",
  "country": "string"
}
POST/api/auth/login

用户登录

请求体示例:

{
  "email": "string",
  "password": "string"
}
GET/api/kyc/status

获取KYC状态

需要认证
POST/api/kyc/submit

提交KYC申请

需要认证

请求体示例:

{
  "firstName": "string",
  "lastName": "string",
  "dateOfBirth": "date",
  "documentType": "string",
  "idDocument": "file",
  "proofOfAddress": "file"
}
GET/api/user/me

获取当前用户信息

需要认证
PUT/api/user/me

更新用户信息

需要认证

需要帮助?

我们的开发团队随时为您提供API支持