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 requsts. 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.
  • The best way to communicate your access tokens, also known as bearer tokens, is by presenting them in a request's Authorization HTTP header:

Read more about testing here