Vettig API
v2
  • v1
  • v2
    Vettig API
    v2
    • v1
    • v2
    • Factoring
      • Refinancing
        • Finance Invoice
      • Invoices
        • Upload invoice
      • Onboarding
        • Start onboarding
        • Get onboarding
      • Events
        • Events
    • OAuth 2.0 Authorize
      POST
    • Schemas
      • Event
      • Invoice

      OAuth 2.0 Authorize

      POST
      /auth/authorize
      OAuth 2.0 Authorize endpoint.
      Currently only the client_credentials flow is supported.
      It is preferred to send credentials under the Basic Authorization header instead of in the request body, but both options are supported.

      Request

      Authorization
      Send your HTTP requests with an
      Authorization
      header that contains the word Basic followed by a space and a base64-encoded string username:password
      Example:
      Authorization: Basic *****************
      Body Params application/x-www-form-urlencoded

      Responses

      🟢200Success
      application/json
      Body

      Examples
      {
          "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IlRlc3QgVGVzdHNzb24iLCJpYXQiOjE1MTYyMzkwMjJ9.WiqPnD3T5AY91wjDREG-yAstz3Tw4XG8ELI4YPX6CpA",
          "expires_in": 3600,
          "token_type": "Bearer"
      }
      🟠400Bad Request
      Previous
      Events
      Next
      Event
      Built with