[DRAFT] Request Merchant Access Token
POST/public/api/v1/partner/accounts/:id/access-token
To access the ePay API on behalf of a merchant under your partner profile, partners must create a access token for the merchant before sending requests. An access token expires after 8 hours.
Access token requests are cached in one hour, so any subsequent access token requests for the same merchant and environment may return the same token as previously requested, within the cache period.
The returned access token is used in-place of the merchant API key in the Authorization header.
Request​
Responses​
- 200
- 400
- 422
- 500
Access token created
Standard error response returned when a request fails. Contains a machine-readable error code, a human-readable message.
Standard error response returned when a request fails.
Contains a machine-readable error code, a human-readable message,
and an errors object with field-specific validation issues.
Standard error response returned when a request fails. Contains a machine-readable error code, a human-readable message.