GET
/
v2
/
payment_links
curl --request GET \
  --url https://thirdparty.qonto.com/v2/payment_links \
  --header 'Authorization: Bearer <token>'
{
"payment_links": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "open",
"expiration_date": "2021-01-01T00:00:00Z",
"potential_payment_methods": [
"credit_card"
],
"amount": {
"value": "13.30",
"currency": "EUR"
},
"items": [
{
"title": "Item 1",
"type": "good",
"description": "Item 1 description",
"quantity": 1,
"measure_unit": "unit",
"unit_price": {
"value": "10.99",
"currency": "EUR"
},
"vat_rate": "21.0"
}
],
"reusable": true,
"created_at": "2021-01-01T00:00:00Z",
"url": "https://pay.qonto.com/019788b3-57ab-727c-b26e-86b95c16e93f?resource_id=019788b3-882f-7d39-b545-4e0f4a0bbe51"
}
],
"meta": {
"current_page": 2,
"next_page": null,
"prev_page": 1,
"total_pages": 2,
"total_count": 150,
"per_page": 100
}
}

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.

Query Parameters

page
integer
default:1

Page number for pagination. Must be greater than 0.

Required range: x >= 1
per_page
integer
default:100

Number of records per page. Must be between 1 and 100.

Required range: 1 <= x <= 100
status
enum<string>[]

Filter payments by status.

Example:

"?status[]=open&status[]=paid"

sort_by
enum<string>

Sort payments by a field.

Available options:
amount:asc,
amount:desc,
expiration_date:asc,
expiration_date:desc
Example:

"?sort_by=amount:asc"

Response

200
application/json

The payment links have been retrieved successfully.

The response is of type object.