Skip to main content

F&B POS Interface v1

  • Content & referential

Connect your POS to our F&B Hub

Version
1.0.0
Status
Live
Incident
No incident

OVERVIEW

In order to connect to the F&B Hub, the POS Partner has to use one of the Authentication methods described below.

  • API Key
  • Basic authent
  • OAuth 2.0

 

image

 

METHOD 1 : API KEY

 

The POS Partner must provide an API Key to Accor via this contact form.

Once configured by Accor, this API Key must be used by the POS Partner to communicate with the Accor F&B Hub.

 

METHOD 1' : BASIC AUTHENT

 

The POS Partner must provide a login & password to Accor via this contact form.

Once configured by Accor, this login & password must be used by the POS Partner to communicate with the Accor F&B Hub.

 

METHOD 1'' : OAUTH 2.0

 

  • Step 1 : the POS Partner must provide Basic authent credentials to Accor + an API that will generate access tokens
  • Step 2 : Accor F&B Hub will use the Basic authent credentials to retrieve an access token
  • Step 3 : Accor F&B Hub will use the access token to communicate with the POS Partner.

 

image

 

Request:

Type Endpoint
POST /api/Credentials/AccessToken

Header:

Type Value
Authorization Basic <base64 encoded client ID and client secret>

Parameters:

Parameters

Value

Required

grant_type client_credentials Yes
scope gateway:accor-fnb Yes

Example of Request:

POST https://myurl.com/api/Credentials/AccessToken

Example of Response:

{"token_type": "Bearer", "expires_in": 86299,"access_token": "access token value" }

 

EXAMPLE

 

Request:

Type Endpoint
GET /api/merchants

Header:

Type Value
Content-Type application/json
Authorization Bearer <<oauth_access_token>>

Example of Request:

POST https://myurl.com/api/merchants

Example of Response:

{ "merchants": [ { "id": 0, "name": "Balto", "type": "Italien", "phoneNumber": "string", "currency": "EUR", "price": 3, "website": "https://fnb.hub.api/", "photo": "string", "summary": "string", "features": [ { "feature": "TIPS", "name": "Pourboires" } ], "position": { "longitude": 0, "latitude": 0 }, "address1": "string", "address2": null, "zipcode": "91080", "city": "Courcouronnes", "country": "France", "legalInformation": { "name": "string", "phoneNumber": "string", "siren": "string", "siret": "string", "address1": "string", "address2": null, "zipcode": "91080", "city": "Courcouronnes", "country": "France" } } ], "count": 1, "limit": 10 }

 

 

About us

We are far more than a worldwide leader. We are 300,000 hospitality experts placing people at the heart of what we do, and nurturing real passion for service and achievement beyond limits. We take care of millions of guests in our 5,000 addresses.