1. Generate token from authorization code

POST {{host}}/oauth/token

This endpoint is used to link an existing TransferWise account to a bank account. It is used as part of the redirection flow that allows the customer to sign into their TransferWise 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"=>"G2s8EJ", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring