v2.2-rc2 is not ratified and MUST NOT be used for production. Current: v2.1. Changelog
This is v2.2-rc2 — a release candidate for the v2.2 standards, published for review and not yet ratified. It MUST NOT be used as the basis for a production implementation. For the current standards, switch to v2.1 using the version selector. See the v2.1 → v2.2-rc2 changelog for every change in this version.
Bulk and Batch Payments — Requirements v2.2-rc27 min read
In v2.2, delivering Bulk and Batch Payments is optional for LFIs. An LFI that offers them implements the requirements in this section.
The Authentication requirements, Authorization requirements, and User Journeys must be adhered to.
The tables below list the rules that apply to Bulk and Batch Payments. All request validation of the TPP's credentials, access token, and consent is performed by the Hub before your Ozone Connect endpoint is called. The rules below cover what your Ozone Connect endpoint must validate and how it must treat each payment in a batch.
Consent Validation
When a TPP creates a Bulk and Batch consent, the API Hub calls your POST /consent/action/validate endpoint before the consent is created. You MUST validate the consent and respond with status: "valid" or status: "invalid". If you respond with invalid, the API Hub will not create the consent and the TPP will receive an error. This validation runs before the customer is involved — there is no authentication or authorization at this stage.
A Bulk and Batch consent is identified by its ControlParameters.ConsentSchedule carrying BulkBatchPayment: the reason for the batch (Description), the number of payments (NumberOfTransactions, at most 500) and their total (TotalValueOfPayments). The API Hub has already validated the consent against the Bulk and Batch consent shape, which carries no Permissions, CurrencyRequest, PaymentPurposeCode, DebtorReference or CreditorReference.
standardVersionstandardVersion (a top-level property on the consent object) is the URL path version the TPP will call on subsequent payment initiation requests. If you do not support that version for the Payment Initiation API family, respond with invalid. Bulk and Batch Payments exist from v2.2.consent.PersonalIdentifiableInformationAEBankServiceInitiationRichAuthorizationRequests.AEBulkBatchPaymentPII in uae-api-hub-consent-manager-openapi.yaml). It carries only the Bulk and Batch Risk block (AEBulkBatchPaymentRisk). Respond with invalid if decryption fails, if any property is of the wrong type, or if the payload contains additional or undocumented properties (additionalProperties: false).POST /bulk-payments, and they are validated there — see Payment Execution. There is nothing to check for them at consent time.BaseConsentIdBaseConsentId, validate that:- The
BaseConsentIdreferences an existing consent known to the LFI. - The referenced consent is a Service Initiation consent (
authorization_details[0].typeisurn:openfinanceuae:service-initiation-consent:*). - The referenced consent does not itself have a
BaseConsentId— theBaseConsentIdmust always reference the original root consent.
invalid.Payment Execution
/bulk-paymentsWhen the TPP submits a Bulk/Batch Payment under an authorized consent, the API Hub validates the access token, the consent status and the OpenAPI schema, and validates the Instructions array — at most 500 payments — against the consent: the number of payments against NumberOfTransactions, every currency against TotalValueOfPayments.Currency (AED), and their total against TotalValueOfPayments.Amount — before calling your Ozone Connect POST /bulk-payments endpoint, the Bulk and Batch counterpart of POST /payments. The rules below cover what your Ozone Connect endpoint must validate on receipt and return. Error responses MUST conform to the POST /bulk-payments OpenAPI schema, which returns the same error responses as POST /payments.
The rules apply at two levels. A failure in the batch as a whole — the consent, the idempotency key or the batch-level PII — rejects the whole request, and no payment is created. A failure in one payment — its PII, Debtor Account, Creditor, funds or any other error — rejects that payment only: it is Rejected with a RejectReasonCode, and the LFI MUST continue to process the other payments in the batch.
x-idempotency-keyx-idempotency-key in requestHeaders, the tpp.clientId, and the o3-consent-id header, and MUST keep that record for at least 24 hours after the request was first received.- Same key, same batch. If a request matches a batch already accepted, the LFI MUST NOT execute any of its payments again and MUST return HTTP
201with the originaldata.idandpaymentIds and each payment's currentstatus. If the earlier request is still being processed when the repeat arrives, the LFI MUST NOT start a second batch. - Same key, different batch. If
request.Datadiffers from the batch recorded against the key, the LFI MUST NOT execute the request and MUST reject it with HTTP409errorCode:GenericRecoverableErroranderrorMessage:Idempotency key mismatch: Request parameters differ from original.Compare everyPersonalIdentifiableInformationafter decryption, because the encrypted values change each time the TPP re-signs a retry.
o3-consent-id (and request.Data.ConsentId) must be a Bulk and Batch consent known to the LFI. If it is unknown or has been revoked, reject the whole request with HTTP 400 errorCode: Consent.Invalid.Data.PersonalIdentifiableInformation (batch)AEBankServiceInitiation.AEFilePaymentRiskPIIProperties). Reject the whole request with HTTP 400 and:errorCode:JWE.DecryptionError— if decryption fails.errorCode:Body.InvalidFormat— if any property is of the wrong type, or the payload contains additional or undocumented properties.
Data.Instructions[].PersonalIdentifiableInformationAEBankServiceInitiation.AEFilePaymentPIIProperties): Initiation.DebtorAccount and Initiation.CreditorAccount are required, Initiation.Creditor and Initiation.CreditorAgent are optional, and it carries no Risk and no Confirmation of Payee. If decryption or schema validation fails for a payment, that payment MUST be Rejected.Initiation.DebtorAccounto3-psu-identifier), eligible under consent.IsSingleAuthorization, and in a state that permits payment initiation (not blocked, dormant, or closed). If it is not, that payment MUST be Rejected.Initiation.CreditorAccountRejected.Amount when it is processed, taking into account any holds, pending transactions, and overdraft limits applied by the LFI. If it does not, that payment MUST be Rejected.Rejected with a rejectReasonCode stating why, on its element of data.instructions in the response. The LFI MUST NOT reject the rest of the batch because of it, and MUST continue to process the other payments.data.id, the TPP's BulkPaymentId) and a unique paymentId for each payment within it, unique within the LFI's payment system. Once issued, an identifier MUST NOT be reassigned. Each paymentId can also be used with GET /bulk-payments/{bulkPaymentId}/payments/{paymentId} and GET /payments/{paymentId}.If the batch as a whole passes, the LFI MUST return HTTP 201 with AEFilePaymentIdResponse per the POST /bulk-payments OpenAPI schema: data.id, data.consentId, data.creationDateTime, and data.instructions with one element per request instruction, in the same order. Each element carries that payment's paymentId, status, statusUpdateDateTime, amount and paymentPurposeCode, and where available its paymentTransactionId, paymentRail, rejectReasonCode, debtorReference and creditorReference. The batch has no status of its own. Full response handling is covered in the API Guide.
Screening and Settlement
Each payment in a batch is screened, routed and settled on its own. The LFI's fraud screening, transaction monitoring, and AML controls are the LFI's responsibility and follow the LFI's own policies and regulatory obligations.
Rejected; the other payments in the batch are not affected. The RejectReasonCode message MUST be sanitised for onward relay to the TPP — it MUST NOT reveal detection logic, sanctions list matches, or internal case identifiers.paymentRail is reported on that payment's element of data.instructions. The rail also sets the namespace of a payment's rejectReasonCode. The domestic rail and status rules apply to each payment as for a single payment — see Payment Rails and Status.Payment Status Retrieval
/bulk-payments/{bulkPaymentId}The TPP may retrieve the status of every payment in a batch, or of one payment within it. The API Hub validates the access token and consent, then calls your Ozone Connect GET /bulk-payments/{bulkPaymentId}, GET /bulk-payments/{bulkPaymentId}/payments/{paymentId} or GET /payments/{paymentId} endpoint. The TPP's lookup by idempotency key (GET /bulk-payments) has no Ozone Connect counterpart: the API Hub answers it itself.
GET /bulk-payments/{bulkPaymentId}201 to POST /bulk-payments (AEFilePaymentIdResponse), with the current status of each payment in data.instructions, in the original request order, reflecting any state change since the batch was received (screening outcome, rail settlement, rejection).GET /bulk-payments/{bulkPaymentId}/payments/{paymentId}paymentId you assigned it in the POST /bulk-payments response, as AEFilePaymentInstructionIdResponse: its data is that payment's element of data.instructions, exactly as GET /bulk-payments/{bulkPaymentId} returns it. If paymentId is not a payment within the Bulk/Batch Payment identified by bulkPaymentId, return an error response; the TPP receives 404.GET /payments/{paymentId} for a payment in a batchpaymentId you assigned it in the POST /bulk-payments response, in the single-payment shape (AEPaymentIdResponse): instruction, paymentPurposeCode and debtorReference are those of that payment, consentId is the Bulk/Batch consent, and openFinanceBilling, currencyRequest and exchangeRate are absent, as a Bulk/Batch Payment carries none.status, statusUpdateDateTime and paymentTransactionId MUST be the same on GET /bulk-payments/{bulkPaymentId}, GET /bulk-payments/{bulkPaymentId}/payments/{paymentId} and GET /payments/{paymentId}.paymentTransactionIdParity and Treatment Constraints
These requirements govern how the LFI may treat Open Finance initiated payments relative to its own banking channels. They apply alongside — and do not override — the LFI's standard fraud, sanctions, and AML controls, which remain the LFI's responsibility (see Screening and Settlement).
