1. Generate token from authorization code
POST {{host}}/oauth/token
This endpoint is used to link an existing Wise user to the partner application. It is used as part of the redirection flow that allows the customer to sign into their Wise account and authorise the linking of their profile.
Request Body
[{"name"=>"grant_type", "value"=>"authorization_code", "datatype"=>"string"}, {"name"=>"client_id", "value"=>"{{client-id}}", "datatype"=>"string"}, {"name"=>"redirect_uri", "value"=>"{{client-redirect-uri}}", "datatype"=>"string"}, {"name"=>"code", "value"=>"<code from redirect url>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |