Expiration date is the date and time in which VA (Virtual Account) expires and can no longer be paid. Thus, payments made after the expiration date will be failed.
The default expiration date for Invoice VA is set for 24 hours or 1 day; meanwhile for Fixed Virtual Account, it is 31 years.
Invoice VA
To change the default Invoice VA expiration date, you may follow these steps:
1. Click Payment Link Tab https://dashboard.xendit.co/payment-links
2. Choose payment link that you want to expired by click the cursor
3. Click Void
Fixed VA
To change the default expiration date for Fixed Virtual Account, you may use the parameter expiration_date and input the value as you wish.
You can use the endpoint: /v3/payment_requests and for Fixed VA, you will need to set the expiration date manually.
As an Example, the expiration date can be added as seen as below:
{
"channel_properties": {
"expires_at": "2024-12-31T23:59:59Z"
},
Fixed VA will use the routing type REUSABLE PAYMENT CODE, meaning the flow where it will be acquired for you to add "channel_properties" parameter to be inputted with important information such as:
- Expiration date
- Displayed name
- VA number
- Verification data
- etc
You can refer to our docs and API Reference below: