1. Fiat APIs
AIO Docs
EN
  • EN
  • ZH
  • Overview
  • Create API Key
  • Callback
  • Security
  • Pay-in
  • Fiat Pay-in
  • Pay-out
  • API
    • Before You Begin
    • Fiat APIs
      • Fiat Pay-in Overview
      • Create KYC
        POST
      • List KYC
        GET
      • Supported Fiat Currencies
        GET
      • Crypto Map
        GET
      • Payment Methods/Codes
        GET
      • Fiat Deposit Limits
        GET
      • Fiat Pay-in Quote
        POST
      • Create Fiat Pay-in Order
        POST
      • List Fiat Pay-in Orders
        GET
    • Get Txs
      GET
    • Get Sub Txs
      GET
    • Get Tx Info
      GET
    • Create Payin Tx
      POST
    • Create Payin Longtime Tx
      POST
    • Create Payout Tx
      POST
    • Price
      GET
    • Calculate price
      GET
  • Schemas
    • Schemas
      • CallbackReqContentData
      • CallbackSubTxData
      • CallbackTxData
      • CallbackType
      • GetSubTxData
      • SubTxDataExt
      • SubTxStatus
      • GetSubTxDataResponse
      • CreateFiatKycRequest
      • CreateFiatKycResponse
      • Chain
      • ErrorResponseModel
      • PayTxData
      • PayTxStatusData
      • PayinLongTimeTxParams
      • PayinTxParams
      • PayoutSubTxParams
      • PayoutTxParams
      • PriceData
      • RedisKeyData
      • SubTxData
      • SuceedResponseModel
      • TestData
      • Token
      • TxData
      • TxDetailsData
      • TxStatus
      • TxType
      • VsToken
      • TestDataResponse
      • RedisKeyDataResponse
      • PriceDataResponse
      • PayTxDataResponse
      • PayTxStatusDataResponse
      • TxDetailsDataResponse
      • TxDataResponse
  1. Fiat APIs

Create KYC

Developing
POST
/v2/fiat/kyc

What This API Does#

Creates a basic KYC profile for the end user and returns fiat_kyc_id. This ID is used later when creating the fiat pay-in order.

Request Data Structure#

{
  "email": "user@example.com",
  "firstName": "Alice",
  "lastName": "Doe",
  "date": "01-01-1990",
  "country": "US",
  "gender": "female",
  "phone": "1234567890",
  "address": {
    "city": "New York",
    "postalCode": "10001",
    "street": "Main Street",
    "state": "NY"
  }
}
FieldTypeRequired / NullableConditions / Notes
emailstringRequired, cannot be nullEnd user's email address.
firstNamestringRequired, cannot be nullEnd user's first name.
lastNamestringRequired, cannot be nullEnd user's last name.
datestringRequired, cannot be nullDate of birth in dd-mm-yyyy format. User must be at least 18 years old.
countrystringRequired, cannot be null2-letter uppercase ISO country code, for example US, AE, IN.
genderstringRequired, cannot be nullAllowed values: male, female.
phonestringRequired, cannot be null8 to 15 digits only. No symbols and no + prefix.
addressobjectRequired, cannot be nullAddress object is required.
address.citystringRequired, cannot be nullUser's city.
address.postalCodestringRequired, cannot be nullUser's postal code.
address.streetstringRequired, cannot be nullUser's street address.
address.statestringRequired, cannot be nullUser's state or province.

Response Structure#

{
  "fiat_kyc_id": "KYC_xxx"
}
FieldTypeNullableDescription
fiat_kyc_idstringNoKYC profile ID. Store this value and pass it to POST /v2/fiat/pay-in.

Logic in a Nutshell#

The merchant collects basic user identity information, sends it to AIO, and receives a fiat_kyc_id. The fiat_kyc_id becomes the user identity reference for fiat pay-in orders.

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.aio.cash/v2/v2/fiat/kyc' \
--header 'Content-Type: application/json' \
--data '{
    "type": "string",
    "required": [
        "string"
    ],
    "properties": {
        "email": {
            "type": "string",
            "format": "string"
        },
        "firstName": {
            "type": "string"
        },
        "lastName": {
            "type": "string"
        },
        "date": {
            "type": "string",
            "description": "string"
        },
        "country": {
            "type": "string",
            "minLength": 0,
            "maxLength": 0
        },
        "gender": {
            "type": "string",
            "enum": [
                "string"
            ]
        },
        "phone": {
            "type": "string",
            "pattern": "string"
        },
        "address": {
            "type": "string",
            "required": [
                "string"
            ],
            "properties": {
                "city": {
                    "type": "string"
                },
                "postalCode": {
                    "type": "string"
                },
                "street": {
                    "type": "string"
                },
                "state": {
                    "type": "string"
                }
            }
        }
    }
}'
Response Response Example
{
    "success": true,
    "msg": "ok",
    "data": {
        "type": "string",
        "required": [
            "string"
        ],
        "properties": {
            "fiat_kyc_id": {
                "type": "string",
                "example": "string"
            }
        }
    }
}
Modified at 2026-05-18 08:39:10
Previous
Fiat Pay-in Overview
Next
List KYC
Built with