Skip to main content


XenInvoice (Payment Link) is a free pre-built payment page that provides a seamless payment experience to you and your customers. XenInvoice holds all of your enabled payment method available, including PayLater.

To create PayLater as a payment method in your XenIvoice, there are two ways we provide:

  1. Payment Link UI (from the Xendit Dashboard)
  2. Payment Link API
  1. Ensure your Paylater channel is activated on the Invoice Configuration in the Xendit Dashboard

    Invoice Configuration in the Xendit Dashboard

  2. To make PayLater channel appear on your Payment Link, ensure to select and fill in Show order items in the Order Details (even when the item is only one)

    Create Invoice in the Xendit Dashbord

  3. The PayLater channels activated will be there on your XenInvoice!

    PayLater as payment method in the XenInvoice


Comprehensive API flow, request, and responses are available in our API Reference

To create PayLater transaction using XenInvoice API, you need to include items parameter in the Create Invoice Request. Include these parameters inside:

name, quantity, pricecategory, url (Required for Kredivo only)

Sample Sample request of creating PayLater using Invoice

"external_id": "invoice-{{$timestamp}}",
"amount": 1000000,
"payer_email": "",
"description": "Invoice Demo #123",
"items": [
"name": "Nymbus 2000",
"quantity": 1,
"price": 1000000,
"category": "Sports",
"url": ""

Sample response of creating PayLater using Invoice

"id": "61c00865a5ed4737a9655593",
"external_id": "invoice-1639975013",
"user_id": "603f1c4172bbe840979fd408",
"status": "PENDING",
"merchant_name": "Live Validation Test T4",
"merchant_profile_picture_url": "",
"amount": 1800000,
"payer_email": "",
"description": "Invoice Demo #123",
"expiry_date": "2021-12-20T05:36:54.167Z",
"invoice_url": "",
"available_paylaters": [
"paylater_type": "AKULAKU"
"paylater_type": "KREDIVO"
Was this page helpful?