POST
/
v1
/
embed_auth_links
Create an Embed Auth Link
curl --request POST \
  --url https://thirdparty.qonto.com/v1/embed_auth_links \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "embed_auth_link": {
    "post_authn_action": "create_payment_link",
    "callback_url": "https://your-website.com/callback"
  }
}'
{
"embed_auth_link": {
"url": "https://embed.qonto.com/embed-auth-link/b079da82-0226-41a6-a39a-95b16c288915",
"post_authn_action": "create_payment_link",
"callback_url": "https://your-website.com/callback",
"expired_at": "2023-11-07T05:31:56Z",
"used_at": "2023-11-07T05:31:56Z"
}
}

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

Headers

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Body

application/json

Response

200
application/json

The embed auth link has been created successfully.

The response is of type object.