Notifies Caddi when part of an order has been shipped in order to capture funds
When items in the order have shipped successfully, the Merchant should call the Ship Order API to notify Caddi that those items have been shipped and capture funding. The Ship Order API should be called with the following:
- The
orderTokenprovided in previous steps - The
shippedAmountitem value (including taxes) of all newly shipped items - Optionally, a
merchantReferencewhich will be provided later with funding reports
Caddi will respond with one of the following payment status results:
- If Caddi is able to successfully confirm shipment status, the
statusAPPROVED will be returned alongside afundingReferencewhich can be used to refer back to this request. - If Caddi is unable to confirm shipment status, the
statusDECLINED will be returned with an object elaborating on the error details.
If the APPROVED status is received, no further action is required from the Merchant.
If the DECLINED status is received, the Merchant should not retry calling the API again. Your Caddi relationship manager will automatically be made aware of the problem and reach out to your primary contact to discuss a resolution.
In addition to the above fields, Caddi will return the field fundingReference which can be used when communicating with customer service in regards to order funding. This field will always be unique for a given request to this API.