8 lines
355 B
Bash
8 lines
355 B
Bash
|
curl https://sandbox-b2b.revolut.com/api/1.0/auth/token \
|
||
|
-H "Content-Type: application/x-www-form-urlencoded"\
|
||
|
--data "grant_type=authorization_code"\
|
||
|
--data "code=oa_sand_[...]"\
|
||
|
--data "client_id=XXXX_[...]"\
|
||
|
--data "client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer"\
|
||
|
--data "client_assertion=long string [...]"
|