API ReferenceOAuth
Exchange authorization code or refresh token for tokens
POST
application/json- body
grant_type*stringValue in
"authorization_code""refresh_token"client_id*stringLength
1 <= lengthclient_secret*stringLength
1 <= lengthcode?stringLength
1 <= lengthredirect_uri?stringFormat
uricode_verifier?stringLength
43 <= length <= 128refresh_token?stringLength
1 <= lengthcurl -X POST 'https://api.easydonate.app/oauth/token' \ -H 'Content-Type: application/json' \ -d '{ "grant_type": "authorization_code", "client_id": "string", "client_secret": "string"}'Example Response201
Empty