v1

latestOpenAPI 3.0.32026-07-17769.2 KB
crate

post/register_account_and_allowance

Request body

account_idstring required
allowanceinteger required
oauth_tokenstring required

Example request

{
  "account_id": "example.near",
  "allowance": 900000000,
  "oauth_token": "https://securetoken.google.com/pagoda-oboarding-dev:Op4h13AQozM4CikngfHiFVC2xhf2"
}

Response

Added Oauth token {oauth_token: https://securetoken.google.com/pagoda-oboarding-dev:Op4h13AQozM4CikngfHiFVC2xhf2, account_id: example.near, allowance: 90000000000000 to Relayer DB