BananaTech
  1. User related APIs
BananaTech
  • API Security Implementation Guide
  • Guides
    • 01-README
    • 02-Getting-Started
    • 03-Virtual-Cards
    • 04-Physical-Cards
    • 05-Card-Operations
  • Webhook
    • Integration Guide
    • Event Types
  • Merchant related APIs
    • Get Account Balance
      POST
    • Get Card Templates
      POST
    • Set Webhook URL
      POST
    • Get Webhook Records
      POST
  • User related APIs
    • Register
      POST
    • Get Users
      POST
  • Card related APIs
    • Apply
      POST
    • Recharge
      POST
    • Update Status
      POST
    • Get Balance
      POST
    • Get Information
      POST
    • Get Transactions
      POST
    • Assign (for Physical cards only)
      POST
    • Set PIN (for Physical cards only)
      POST
    • 3DS Confirm
      POST
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. User related APIs

Register

POST
/user/register
Used to register users.

Request

Header Params

Body Params application/json

Example
{
    "email": "string",
    "template_id": 0,
    "dial_code": "string",
    "phone_number": "string",
    "kyc_data": {
        "first_name": "string",
        "last_name": "string",
        "gender": "MALE",
        "date_of_birth": "string",
        "identification_type": "PASSPORT",
        "identification_number": "string",
        "front_img_base64": "string",
        "back_img_base64": "string",
        "handheld_img_base64": "string",
        "issue": 0,
        "expiry": 0,
        "country_code": "string",
        "region": "string",
        "city": "string",
        "postcode": "string",
        "address_line": "string"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/user/register' \
--header 'Merchant-ID;' \
--header 'X-HMAC;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "string",
    "template_id": 0,
    "dial_code": "string",
    "phone_number": "string",
    "kyc_data": {
        "first_name": "string",
        "last_name": "string",
        "gender": "MALE",
        "date_of_birth": "string",
        "identification_type": "PASSPORT",
        "identification_number": "string",
        "front_img_base64": "string",
        "back_img_base64": "string",
        "handheld_img_base64": "string",
        "issue": 0,
        "expiry": 0,
        "country_code": "string",
        "region": "string",
        "city": "string",
        "postcode": "string",
        "address_line": "string"
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "user_id": 12345
}
Modified at 2025-09-29 09:40:59
Previous
Get Webhook Records
Next
Get Users
Built with