Skip to main content
GET
/
api
/
v1
/
ibans
/
oauth
/
redirect_url
Retrieves the redirect URL for the Monerium oAuth flow
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.valox.co/api/v1/ibans/oauth/redirect_url', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "data": {
    "redirectUrl": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

callbackUrl
string

Optional URL to redirect the user to after the OAuth flow is completed. If not provided, a default redirect URL will be used.

Response

Successfully retrieved the redirect URL

data
object