TruBit Business
πŸ‡ΊπŸ‡Έ EN 2025/05/08
πŸ‡ΊπŸ‡Έ EN 2025/05/08
  • πŸ“– Guides
    • A Gentle Introduction
    • Step-by-Step Guide
    • Creating TruBit Account
    • Creating API Key
      • Safely Store Your API Key
      • Configure Whitelisted IPs
      • Enable API Access
      • Create API Token
    • Sandbox
    • Creating Your Merchant
    • Creating Payment Method
    • Payment Method ID
    • Currencies
    • Pair
    • Creating Webhook Listener
    • Fiat to Crypto (On-Ramp)
    • Crypto to Fiat (Off-Ramp)
    • Fiat to Fiat (Global Payment)
  • πŸ“— API Reference
    • Basic Configuration
      • API Endpoint
      • Get List of Countries
      • Get List of Fiat Currencies
      • Get List of Crypto Currencies
      • Get Fiat/Crypto Pairs
      • Get Crypto/Fiat Pairs
      • Get Fiat/Fiat Pairs
      • Get Fiat/Crypto Payment Methods
      • Get Crypto/Fiat Payment Methods
      • Get Fiat/Fiat Payment Methods
    • Account
      • Get Account Details
      • Get Crypto Assets Balance
      • Get Crypto Deposit Address
    • Merchant
      • Add Merchant
      • Get a List of Merchants
      • Get a List of Merchant Accounts
      • Retrieve Pending Fund
      • Claim Pending Fund
      • Get Transfer Pending Funds Fee
      • Transfer Pending Funds
      • Retrieve Funding Records
    • Quote
      • Get User Quote for Crypto/Fiat
      • Get User Quote for Fiat/Fiat
    • Payment Method
      • Get Payment Templates
      • Add Payment Method
      • Get Payment Method
      • Delete Payment Method
      • Set Refund Account
    • Order
      • Create a Fiat to Crypto Order
      • Create a Crypto to Fiat Order
      • Create a Fiat to Fiat Order
      • Confirm a Specific Order
      • Retrieve a Specific Order
      • Retrieve a List of Orders
      • Upload Invoice Documents For a Specific Order
    • Webhooks
      • Create Webhook Endpoints
      • Get Webhook Endpoints
      • Update a Webhook
      • Delete a Webhook
      • Fiat/Crypto Order Message Push
      • Fiat/Fiat Order Message Push
      • Funding Records Message Push
  • πŸ› οΈ Error Reference
    • Error and Warning Dictionary
  • πŸͺ„Changelog
    • πŸ••Changelog
Powered by GitBook
On this page
  1. πŸ“— API Reference
  2. Merchant

Add Merchant

This API allows you to add a merchant, either for CLABE (Mexico) or CVU (Argentina) channels.

Endpoint Information

  • Request Header: X-BH-TOKEN: ******

  • Request Header: Content-Type: application/json

  • Request Method: POST

  • Request Path: /v2/merchant

  • Authorization Required: Yes

Request Parameters

For CLABE Merchant (Mexico)

{
    "trench": "CLABE",                        // (string: Channel [CVU/CLABE])
    "merchantName": "Rrturo Tellez",         // (string: Merchant Name (Unique))
    "email": "rturo@gmail.com",               // (string: Email (Unique))
    "merchantType": "COMPANY",                // (string: Merchant Type [PERSONAL, COMPANY])
    "remark": "",                             // (string: Remark)
    
    "curp": "ATA891028HDFNLR06",              // (string: CURP)
    "rfc": "",                                // (string: RFC)
    "cardIssueDate": "2019-06-01",           // (string: Card Issue Date (yyyy-MM-dd))
    "cardExpireDate": "2029-06-01",          // (string: Card Expiry Date (yyyy-MM-dd))
    "address": "Celle Lagu Wenner 50",       // (string: Address)
    "city": "Ciudad de Mexico",               // (string: City)
    "state": "CMX",                           // (string: State)
    "zipCode": "09060",                       // (string: Zip Code)
    "phone": "35580481683",                   // (string: Phone)
    
    "companyName": "Rrturo Tellez",          // (string: Company Name)
    "aliasName": "Rrturo",                    // (string: Alias Name)
    "companyType": "SC",                      // (string: Company Type)
    "incorporationDate": "2019-02-01",       // (string: Incorporation Date (yyyy-MM-dd))
    
    "birthday": "1988-07-02",                 // (string: Birthday (yyyy-MM-dd))
    "name": "Tellez",                        // (string: Name)
    "fatherSurname": "Rrturo",                // (string: Father's Surname)
    "motherSurname": ""                        // (string: Mother's Surname)
}

For CVU Merchant (Argentina)

{
    "trench": "CVU",                          // (string: Channel [CVU/CLABE])
    "merchantName": "tom",                    // (string: Merchant Name (Unique))
    "email": "rturo@gmail.com",               // (string: Email (Unique))
    "merchantType": "PERSONAL",               // (string: Merchant Type [PERSONAL, COMPANY])
    "remark": "",                             // (string: Remark)
    
    "cuit": "20315085801",                    // (string: CUIT)
    "name": "tom"                             // (string: Full Name)
}

Response Structure

The response will include the following fields:

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {    
        "merchantId": 1,                       // (number: id of the merchant)
        "country": "Mexico",                   // (string: name of the country)
        "merchantName": "Rrturo Tellez",      // (string: name of the merchant)
        "status": 1,                           // (enum: status of the merchant [1: authenticating, 2: normal, 3: authentication failed])
        "merchantType": 1                      // (number: merchant type [1: PERSONAL, 2: COMPANY])
        
    }
}

Example Response

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "merchantId": 1,
        "country": "Mexico",
        "merchantName": "Rrturo Tellez",
        "status": 1,
        "merchantType": 2
    }
}

Notes

  • Ensure that either CURP or RFC is filled for CLABE merchants, and CUIT is filled for CVU merchants.

  • The merchantType field indicates whether the merchant is a personal or company account.

  • The status field reflects the current state of the merchant's application.

PreviousMerchantNextGet a List of Merchants

Last updated 1 month ago