post
https://api-sandbox.paymentlabs.io/batches//payments//autoSubmit
Turns on auto-submit for one payment: it is sent now if the payee can be paid, or as soon as they can.
Use it for the "pay when ready" action. It is Submit Payment with autoSubmit: true, and takes the same feeCap and
fxDifferenceCoverage. Undo it with Remove Auto Submit while the payment is WAITING_PAYABILITY.
Requires the Payment Approval permission. If your role has an approval limit, the payment amount must be within it.
What happens. The payment must be DRAFT, FAILED or RETURNED and not already being sent or cancelled.
- Payee payable: the payment is sent now, with the same balance check as Submit Payment.
- Payee not payable: the payment moves to
WAITING_PAYABILITYand is sent when the payee finishes onboarding.
Errors
403 FORBIDDEN_CONDITION_NOT_MET: the payment amount is above your role's approval limit.403 FORBIDDEN_MISSING_GROUP: your account is blocked from sending payments. Contact support.404 NOT_FOUND: the batch or the payment does not exist.409(nocode): the payment is notDRAFT,FAILEDorRETURNED, or is already being sent or cancelled.409 CUSTOMER_FROZEN: payouts from your account are frozen. Contact support.423 INSUFFICIENT_BALANCE: the payee is payable but the ledger account balance is lower than the payment amount.423 NOT_EDITABLE: the batch is archived.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
202Auto-submit is on. The payment is being sent, or waits in WAITING_PAYABILITY.
