Generate JWT Token
Generate a JWT token for an entity with the given options. This token can be used to authenticate the entity in the Mercoa API and iFrame.
We recommend using this endpoint. This will enable features such as approvals and comments.
Path parameters
entityId
Entity ID or Entity ForeignID
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
expiresIn
Expressed in seconds or a string describing a time span. The default is 1h.
invoice
pages
style
vendors
entity
Response
This endpoint returns a string.