Update a future invoice
Changed onUpdate the future invoice.
put/billing/futureinvoices
Request
- Base URLhttps://api-sandbox.ezypay.com/v2
- URLhttps://api-sandbox.ezypay.com/v2/billing/futureinvoices
- AuthOAuth 2Client credentialsToken URL: https://identity-sandbox.ezypay.com/token
Headers
merchantstring required
Merchant ID
Request body
Response
200
Example response
{
"data": [
{
"subscriptionId": "fef9bef0-2081-445d-8a4e-b50a5d9eb2b7",
"date": "2019-07-01",
"cycleStartDate": "2019-07-01",
"cycleEndDate": "2019-07-31",
"items": [
{
"description": "high_st_monthly_plan",
"amount": {
"currency": "NZD",
"value": 200
},
"type": "subscription_payment",
"accountingCode": "customer_plan"
}
],
"amount": {
"currency": "NZD",
"value": 200
},
"totalTax": {
"currency": "NZD"
}
}
],
"paging": {
"totalCount": 2
}
}Changes
- info
endpoint added
- info