Schedule SuperPay payment
POST/orders/:guid/payments/superpay/schedule
Sets or moves the payment date. Works until collection starts, and also releases a hold placed before collection. Only works with manual flow (automatic flow schedules automatically).
expected_date in response is the adjusted date and can differ from what was sent in the request
due to business days and holidays.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 408
- 409
- 410
- 429
The updated payment
VALIDATION_ERROR: expected_date is missing, malformed, or not in the future.
Not authenticated
Forbidden
ORDER_NOT_FOUND: no such order, or the order is not yours.
REQUEST_TIMED_OUT: the payment provider did not answer in time. Read the payment to see whether the action took effect, then retry.
The payment cannot be scheduled. Codes include:
SCHEDULE_DATE_TOO_FAR:expected_dateis more than 3 months out.CANNOT_SCHEDULE: collection already started, or your account runs the automatic flow.
Any /process eligibility code can apply as well.
ORDER_IS_DELETED: the order is deleted
CONCURRENT_REQUEST: another write on this order is in flight. Retry after a few seconds.