Captures
Extend Invoice duration
Changed onPurpose:
Extends the payment terms relating to a past capture on behalf of your buyer. Please provide the new full length of the payment term.
Preconditions:
- uuid of the capture
- The correctly calculated new due date
Success:
- Response Code: HTTP 204
Attention:
- The new due date is the full amount of days from time of shipping to when the payment will be due.
- If the due date is extended from 30 days by another 30 days, the new due date will be 60
post/invoices/{captureId}/extend-duration
Request
- Base URLhttps://paella-sandbox.billie.io/api/v2
- AuthOAuth 2PasswordToken URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
captureIdstring uuid required
Example:12345667-890a-bcde-f123-34567890abcd
The unique identifier of the capture
Request body
Example request
{
"duration": 30
}Response
Invoice extended successfully
Changes
- info
endpoint added
- info