v1
latestOpenAPI 3.1.02026-07-228956435.8 KBPayment links
List payment links
Lists the payment links of your organization for the live or test mode of the API key used. The list is paginated: the Link and X-Total-Count response headers describe the pagination state.
get/payment_links
Query parameters
sincestring date
Example:2024-04-04
ISO 8601 date or datetime. Limits the list to payment links created at or after this date.
untilstring date
Example:2024-04-05
ISO 8601 date or datetime. Limits the list to payment links created at or before this date.
pageinteger
Page number to retrieve. Starts at 1.
per_pageinteger
Number of payment links per page. Defaults to 30. The maximum is 300.
Response
List of payment links for the current mode. The Link header contains the URLs of the surrounding pages, and X-Total-Count contains the total number of payment links.
Example response
[
{
"id": "plink_K2zwNNSxPyx8w3GZ",
"amount": 5000,
"checkout": {
"description": "Premium subscription"
},
"created_at": "2024-04-04T15:23:11.474Z",
"currency": "CLP",
"customer_email": "customer@example.com",
"expires_at": "2024-04-05T15:23:11.474Z",
"metadata": {
"order_id": "1234"
},
"mode": "live",
"recipient_account": {
"holder_id": "111111111",
"institution_id": "cl_banco_de_chile",
"number": "123456789",
"type": "checking_account"
},
"status": "active",
"url": "https://pay.fintoc.com/plink_K2zwNNSxPyx8w3GZ"
}
]