Payment Link
Create Unique Payment Link
post/checkouts
Headers
Accept-Language'es' | 'en'
Use for knowing which language to use
X-Child-Company-Idstring
In the case of a holding company, the company id of the child company to which will process the request.
Request body
Example request
{
"allowed_payment_methods": [
"cash",
"card",
"bank_transfer",
"bnpl",
"pay_by_bank"
],
"excluded_payment_methods": [
"cash",
"bank_transfer"
],
"exclude_card_networks": [
"visa",
"amex"
],
"expires_at": 1680397724,
"monthly_installments_enabled": true,
"monthly_installments_options": [
3,
6,
12
],
"name": "Payment Link Name 1594138857",
"on_demand_enabled": true,
"plan_ids": [
"plan_123",
"plan_456"
],
"order_template": {
"currency": "MXN",
"customer_info": {
"name": "DevTest",
"email": "test@conekta.com",
"phone": "5522997233",
"object": "customer_info"
},
"line_items": [
{
"antifraud_info": {
"key": "value"
},
"brand": "Cohiba",
"description": "Imported From Mex.",
"metadata": {
"key": "value"
},
"name": "Box of Cohiba S1s",
"quantity": 1,
"sku": "XYZ12345",
"tags": [
"food",
"mexican food"
],
"unit_price": 20000
}
],
"metadata": {
"key": "value"
},
"tax_lines": [
{
"amount": 100,
"description": "testing",
"metadata": {
"key": "value"
}
}
],
"discount_lines": [
{
"amount": 500,
"code": "123",
"type": "loyalty"
}
]
},
"payments_limit_count": 5,
"success_url": "https://www.conekta.com/success",
"type": "PaymentLink"
}Response
successful operation