POST
/
base
/
code2token
Code2Token
curl --request POST \
  --url https://api.coinfer.ai/base/code2token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'code=<string>'
{
  "status": "<string>",
  "data": {
    "access_token": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/x-www-form-urlencoded
code
string
required

Response

OK

status
string
required
Allowed value: "ok"
data
object
required