LogoLogo
  • Home Page
  • Documentation
    • API Overview
    • Partner API Authentication
    • Customer Management
      • Onboarding
    • Partner Webhooks
    • Status Codes for Financial Operations
    • Prices
  • WEBSOCKETS
    • Websocket Prices
      • Prices
      • Schemas
  • API REFERENCE
    • Authorization
      • Schemas
    • User Management
      • Users
      • Schemas
    • Customers
      • General
      • Legal Entities
      • Natural Persons
      • Customer Labels
      • Search Nace Sectors
      • Onboarding Wizard
      • Schemas
    • Documents
      • Documents
      • Schemas
    • Onboardings
      • Onboarding
      • Offboarding
      • Schemas
    • Products
      • Product Definitions & Fees
      • Customer Products
      • Products Changelog
      • Schemas
    • Asset Management
      • Digital assets
        • Create Order
        • General
        • Assets
        • Schemas
    • Transaction History
      • Schemas
    • Transfers
      • Transfers
      • IBAN validator
      • Create Incoming Test Transfer
      • Schemas
    • Partner Documents
      • Schemas
    • Webhooks
      • Schemas
  • PARTNER APIS
    • Partner Webhooks
      • Schemas
Powered by GitBook
On this page
Export as PDF
  1. API REFERENCE

Authorization

Last updated 23 days ago

Get Token

post

Get token to authorize API operations

Header parameters
Content-TypestringRequired

Must always be 'application/x-www-form-urlencoded'

Default: application/x-www-form-urlencodedExample: application/x-www-form-urlencoded
Body
client_idstringRequired

Provided client_id for partner

client_secretstringRequired

Provided client secret for partner

grant_typestringRequired

Grant type, always use 'client_credentials'

Default: client_credentials
Responses
200
OK
application/json
400
Bad Request
application/json
post
POST /oauth2/token HTTP/1.1
Host: b2b.auth.platform-test.tradevest.ai
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 81

"client_id='string'&client_secret='string'&grant_type='client_credentials'"
{
  "access_token": "string",
  "expires_in": 3600,
  "token_type": "Bearer"
}