Privage Open API
    Privage Open API
    Open API
    • Open API
    • Welcome to Privage Open API Documents
    • Get Access Token
      POST
    • Add Point
      POST
    • Get Profile
      GET
    • Burn Point
      POST
    • Void Transaction By Id
      DELETE
    • Void Transaction By RefId
      DELETE
    • Get Campaign
      GET
    • Get Transaction
      GET

      Get Access Token

      สำหรับผู้ใช้ทั่วไป (Privage Open API)
      https://core.privageapp.com
      สำหรับผู้ใช้ทั่วไป (Privage Open API)
      https://core.privageapp.com
      POST
      https://core.privageapp.com/api/v1/auth-connect/{business_code}

      Request

      Authorization
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************
      Path Params

      Body Params application/json

      Examples

      Responses

      🟢200Success
      application/json
      Body

      🟠401Unauthorized
      🟢201Created
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://core.privageapp.com/api/v1/auth-connect/' \
      --header 'Authorization: Bearer <token>' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "api_secret": "string",
          "api_key": "string"
      }'
      Response Response Example
      200 - Example 1
      {
          "access_token": "string"
      }
      Modified at 2025-11-06 07:30:50
      Previous
      Welcome to Privage Open API Documents
      Next
      Add Point
      Built with