Submit Settlement Documents
File a settled B2B-services payment’s delivery proofs by ref, and lock the set — in one call.
Overview
Closes the post-settlement compliance step. Send theref of every delivery proof you want on the record; this call names them as the payment’s set, drops any upload it does not name, and locks the result.
The request
One key.ref of each delivery proof to file against this payment, from Upload Document.Every ref must be an upload made against this payment — a ref from another of your payments reads as unknown, the same answer a made-up one gets. A ref repeated in one call files one document.doc_type. The type you uploaded under already decided where the file was stored, so this call has nothing to cross-check — an invoice ref is simply not one of this payment’s settlement documents and reads as ERR_B2B_SETTLEMENT_001.What “complete” means here
B2B services requires at least onedelivery_proof. That is the whole test — there is no per-type checklist as there is on the goods flow, and many files ride under the single type.
Sending refs: [], or omitting the key, is a 400.
Errors
Every refusal is a400 in the standard envelope:
400 carrying ERR_B2B_SETTLEMENT_001 does not tell you the payment has settled, only that the ref did not resolve. An empty list, which names no ref, does surface the state: an unsettled payment answers ERR_B2B_SETTLEMENT_003 rather than _004.Related
Upload Document
ref.List Settlement Documents
B2B Services Verification
Authorizations
Client Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.
Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.
Merchant Identifier - The unique ID for the merchant account. This is required for PSP (Payment Service Provider) merchants who manage multiple merchant accounts. You can find merchant IDs in the Merchant Management section of the dashboard.
API Version - Specifies which version of the API to use (e.g., '1.X.X', '2.X.X', or '3.X.X'). This header allows you to control which API version your integration uses. Default version information is available in the Developer Settings.
Path Parameters
UID of the settled B2B-services payment the documents belong to.
Body
The ref of each uploaded file to file against this payment. Every ref must belong to the calling merchant and must have been uploaded under a type this flow files (delivery_proof). A ref repeated in one call files one document. An empty or omitted list is refused as an incomplete set.
64