v1
latestOpenAPI 3.1.02026-07-228956435.8 KBPayment links
Create a payment link
Creates a payment link in the live or test mode of the API key used. The response includes the url of the page where your customer pays. The payment link accepts payments until you cancel it or, when expires_after_seconds is sent, until it expires.
post/payment_links
Request body
Example request
{
"amount": 5000,
"currency": "CLP",
"business_profile": {
"category": "620200",
"name": "Tienda Ejemplo",
"tax_id": "111111111"
},
"checkout": {
"description": "Premium subscription"
},
"customer_email": "customer@example.com",
"expires_after_seconds": 86400,
"metadata": {
"order_id": "1234"
},
"recipient_account": {
"holder_id": "111111111",
"institution_id": "cl_banco_de_chile",
"number": "123456789",
"type": "checking_account"
}
}Response
Payment link created. Share the returned url with your customer to collect the payment.
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"
}