patch
https://api-sandbox.paymentlabs.io/payors/me/expiration
Sets your payment availability period: how many days unpaid payments stay open before Payment Labs expires them.
Requires the payout Administrator role.
Send both fields. To change one rule only, send the other with its current value from Get Payment Availability Period.
What happens:
- The new period applies to existing payments too. Payment Labs checks them shortly after you save a period above
0, and
then periodically, at least once an hour. - A payment in
DRAFT,WAITING_PAYABILITYorRESTRICTEDthat was created more thanexpirationDaysdays ago moves to
EXPIRED. - A payment in
FAILEDorRETURNEDthat has not changed forreturnExpirationDaysdays moves toEXPIRED. - Expiring a payment cannot be undone. To pay the payee after that, create a new payment.
Errors
400 INVALID_REQUEST: a value is below0.400 VALIDATION_ERROR: a value is not a number, or the body has a field not listed here.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204The operation succeeded. The response has no body.
