Borderless Docs
  • Get Started
    • Welcome to Borderless
    • Quick Start
  • About us
    • About us
      • Supported countries
  • Reference
    • API Reference
      • Authentication
      • Users
      • KYC
      • Rates
      • Orders
      • Webhooks
Powered by GitBook
On this page
  1. Reference
  2. API Reference

Authentication

PreviousAPI ReferenceNextUsers

Last updated 1 year ago

Without authenticating yourself first, you won't be able to use our API.

Get authentication token

  • Get authentication token
  • POSTObtain your token before start interacting with our API

Obtain your token before start interacting with our API

post
Body
accessIdstringRequired

Your private access identification

Example: 13lk24jk14j
secretIdstringRequired

Your private access secret identification

Example: A13IAKSPTOLXM1
merchantIdnumberRequired

Your ID

Example: 123
externalClientIdstringOptional

User external client ID

Example: ABCD
Responses
200
Your access token, required to do requests
application/json
500
Internal server error
post
POST /auth HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 97

{
  "accessId": "13lk24jk14j",
  "secretId": "A13IAKSPTOLXM1",
  "merchantId": 123,
  "externalClientId": "ABCD"
}
{
  "accessToken": "=12039124JUKASKNAUJRWRHRNA",
  "expiresIn": 3600,
  "tokenType": "Bearer"
}