The integration sends a request to this endpoint to activate the installation, post authorisation. The request is sent after the integration has synchronised tags, tax codes, and vendors between the Pleo account and the client. Note that this is applicable when OAuth is used for authorisation.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Installation is successfully activated.
The unique identifier of the application this installation is for.
"123e4567-e89b-12d3-a456-426614174000"
The date and time when the installation was created.
"2021-01-01T00:00:00Z"
The unique identifier of the installation.
"123e4567-e89b-12d3-a456-426614174000"
Additional information about the installation.
{ "key": "value" }The resource that the installation is for.
"urn:pleo:company:123e4567-e89b-12d3-a456-426614174000"
ACTIVATED, INACTIVE, AUTHORIZED, PENDING_INTEGRATION The date and time when the installation was last updated.
"2021-01-01T00:00:00Z"
Explains the error that inactivated the installation. This appear if the installation status is inactive.
"NOT_ENTITLED"