GET
/
api
/
v1
/
ibans
/
oauth
/
redirect_url
Retrieves the redirect URL for the Monerium oAuth flow
const url = 'https://api.gnosispay.com/api/v1/ibans/oauth/redirect_url';
const options = {method: 'GET', body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "data": {
    "redirectUrl": "<string>"
  }
}

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

200
application/json

Successfully retrieved the redirect URL

The response is of type object.