Bearer token

What is it? 

A type of access token that lets you complete an action on behalf of a resource owner. The MobilePay authorization server issues access tokens called bearer tokens, that you use for authorization when you make REST API requests. A bearer token enables you to complete actions on behalf of, and with the approval of, the resource owner. 

How do I use it ? 

  • You should include the bearer token in the API requests in the Authorization header with the Bearer authentication scheme. 
  • Access tokens are also known as bearer tokens.
  • Bearer token format (C#): request.AddHeader("authorization", "Bearer <access_token>");