POST api/vipps/manage/token

Creates a merchant AccessToken using a POST REQUEST The access token is valid for 24 hours in production
If you want to reset the access token, you need to provide the oldaccesstoken

Request Information

URI Parameters

None.

Body Parameters

Cinema information bioCode

PosCinemaViewModel
NameDescriptionTypeAdditional information
bioCode

string

None.

oldAccessToken

string

None.

Request Formats

application/xml, text/xml

Sample:
<PosCinemaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_1SA_MobilePay_POS_ViewModels.ViewModels">
  <bioCode>sample string 1</bioCode>
  <oldAccessToken>sample string 2</oldAccessToken>
</PosCinemaViewModel>

application/json, text/json

Sample:
{
  "bioCode": "sample string 1",
  "oldAccessToken": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PosManageViewModel
NameDescriptionTypeAdditional information
message

string

None.

success

boolean

None.

errors

Collection of string

None.

Response Formats

application/xml, text/xml

Sample:
<PosManageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_1SA_MobilePay_POS_ViewModels.ViewModels">
  <errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </errors>
  <success>true</success>
  <message>sample string 1</message>
</PosManageViewModel>

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "success": true,
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}