API Reference
AuthenticationPOSTGet a token
AccountsPOSTCreate an accountGETList accountsGETGet an accountPATCHUpdate an accountPOSTSubmit account for reviewPOSTUpload a documentGETGet account balanceGETList funding instructions
Beneficial ownersPOSTAdd a beneficial ownerGETList beneficial ownersGETGet a beneficial ownerPATCHUpdate a beneficial ownerDELRemove a beneficial owner
OperationsPOSTCreate a quotePOSTCreate a depositPOSTCreate a withdrawalPOSTCreate a swapPOSTCreate a transferPOSTRefund a depositPOSTUpload an operation documentGETGet an operationGETList operationsGETGet a report
Get a token
POST
Base URL: /v1/oauth/client/tokenhttps://trace.mimicr.dev · provider: https://api.sandbox.tracefinance.comExchanges the client ID and client secret issued at onboarding for a JWT access token (RS256) valid for 23 hours. Send it as Authorization: Bearer <token> on every other request.
Authorization
Public route, no token.
Body
application/jsonclientIdstringrequired
Client ID issued at onboarding.
clientSecretstringrequired
Client secret issued at onboarding.
Responses
200Access token.
accessTokenstringrequired
JWT bearer token.
tokenTypestringrequired
BearerexpiresInintegerrequired
Lifetime in seconds (82800, 23 hours).