Release candidate

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.

TPP · Banking · Service Initiation · Bulk and Batch Payments

Bulk and Batch Payments — API Guide 7 min read

A Bulk/Batch Payment pays many creditors under a single consent — a payroll run, for example. The User authorizes the batch once, by its reason, the number of payments and their total. The TPP then sends every payment in one signed request, as a JSON array, and the API Hub checks the array against what the User authorized. Each payment carries its own Debtor Account, so the payments in one batch may be made from different accounts.

01 Prerequisites

What you need before initiating a Bulk/Batch Payment

Before initiating a Bulk/Batch Payment, ensure the following requirements are met:

  • Registered Application — the application must be created within the Trust Framework and assigned the BSIP role as defined in Roles.
  • Valid Transport Certificate — an active transport certificate must be issued and registered in the Trust Framework to establish secure mTLS communication.
  • Valid Signing Certificate — an active signing certificate must be issued and registered in the Trust Framework. This certificate is used to sign request objects, client assertions and the POST /bulk-payments request.
  • Registration with the relevant API Hub (Authorisation Server) — the application must be registered with the API Hub (Server) of the LFI with which you intend to initiate payments.
  • Understanding of the FAPI Security Profile and Tokens & Assertions — you should understand how request object signing, client authentication, and access token validation underpin secure API interactions.
  • Understanding of Message Encryption — PII must be encrypted as a JWE: once for the consent, once for the batch's Risk block, and once for each payment in the batch. You will need the LFI's public encryption key from their JWKS.
02 API Sequence Flow

End-to-end Bulk/Batch Payment

Sequence diagramBulk and Batch Payment API FlowClick to expand

The consent and authorization steps are the same as for a Single Instant Payment. What differs is what the consent fixes, and how the payments are sent and tracked:

StageBulk/Batch Payment
Consent (POST /par)ConsentSchedule.BulkBatchPayment fixes the reason (Description), the number of payments (NumberOfTransactions) and their total, amount and currency (TotalValueOfPayments). The individual payments are not on the consent.
Authorization (at the LFI)The User authenticates at the LFI and authorizes the batch. The LFI shows Description as the reason for the payment.
Payment (POST /bulk-payments)One signed request carries every payment in Data.Instructions, each with its own amount, purpose code, encrypted Debtor Account and creditor, and references, and the batch's Risk block once. The API Hub rejects the request unless the count matches NumberOfTransactions, every currency matches TotalValueOfPayments.Currency, and the amounts sum to TotalValueOfPayments.Amount.
Outcome (GET /bulk-payments/{BulkPaymentId})The batch carries no status of its own. Each payment within it has its own PaymentId and status, reported on its element of Instructions and read as for a single payment.
Collecting the batch from the User

A TPP may still collect the payments as a file — a spreadsheet of salaries, for example. The TPP converts it to the Instructions array itself. Nothing is uploaded to the API Hub or the LFI.

03 POST /par · Step 1 — Encrypting PII

Sign and encrypt the consent PII

POST/par

consent.PersonalIdentifiableInformation is required on every payment consent. For a Bulk/Batch Payment consent it is the Bulk/Batch Payment PII (AEBulkBatchPaymentPII), which carries only the Risk block. The Debtor Account and creditor of each payment are not held on the consent; they are sent with each payment in Step 9. Sign the object as a JWS and encrypt the JWS as a JWE using the LFI's public encryption key. The resulting compact JWE string is the encryptedConsentPII used in Step 2.

The Bulk and Batch Risk block

A Bulk/Batch Payment can debit more than one Debtor Account and pay many creditors, so its Risk block (AEBulkBatchPaymentRisk) describes only what holds for the whole submission: the User who submits it, and the batch itself. Nothing in it describes a single Debtor Account or creditor. The same block is sent on the consent and, once for the batch, on POST /bulk-payments (Step 9a). Populate every field that is known or derivable from your system. No field is required, and no additional properties are permitted.

FieldDescription
UserIndicators.UserNameThe name of the User submitting the batch (en and/or ar)
UserIndicators.EmiratesIdThe User's Emirates ID number
UserIndicators.GeoLocationLatitude and Longitude of the User's device, both required when the object is sent
UserIndicators.AuthenticationHow the User authenticated at the TPP: AuthenticationChannel (App, Web), the PossessionFactor, KnowledgeFactor and InherenceFactor used, ChallengeOutcome (Pass, Fail, NotPerformed), AuthenticationFlow, AuthenticationValue and ChallengeDateTime
UserIndicators.DeviceInformationThe device the batch is submitted from: DeviceId, DeviceOperatingSystem, DeviceOperatingSystemVersion, DeviceType
UserIndicators.AccountRiskIndicatorsThe User's account with the TPP: UserOnboardingDateTime, LastAccountChangeDate, LastPasswordChangeDate, SuspiciousActivity
BatchIndicators.ChannelWhere the batch was submitted from: Web or Mobile
BatchIndicators.BatchSourceHow the TPP assembled the payments: ManualEntry, FileUpload, AccountingSystem (an accounting, payroll or ERP system connected to the TPP) or Other
BatchIndicators.NumberOfNewCreditorAccountsThe number of distinct Creditor Accounts in the batch the User has not paid before through the TPP, from any Debtor Account. A creditor whose account has changed since the User last paid them counts as new
SupplementaryDataAdditional information that cannot be captured in the structured fields

See Message Encryption for the JWS-inside-JWE pattern, fetching the LFI's JWKS and selecting the correct encryption key. The same helper is used again in Step 9, for the batch and for each payment.

04 POST /par · Step 2 — Constructing Authorization Details

Build the consent payload

With the encrypted PII ready, construct the authorization_details of type urn:openfinanceuae:service-initiation-consent:v2.2. The encrypted PII is embedded as consent.PersonalIdentifiableInformation, and the batch is described in consent.ControlParameters.ConsentSchedule.BulkBatchPayment.

authorization_details

FieldTypeDescriptionExample
type*enumMust be urn:openfinanceuae:service-initiation-consent:v2.2urn:openfinanceuae:service-initiation-consent:v2.2
consent*objectConsent properties agreed by the User with the TPP. Described below.—
subscriptionobjectOptional subscription to Event Notifications via Webhook.—

consent (Required) | authorization_details.consent

FieldTypeDescriptionExample
ConsentId*string (uuid)Unique ID assigned by the TPP (1–128 chars)b8f42378-10ac-46a1-8d20-4e020484216d
IsSingleAuthorizationbooleanWhether the consent must be authorized by a single authorizer at the LFI. Defaults to false — see Multi-Authorizationtrue
ExpirationDateTime*date-timeConsent expiry (ISO 8601 with timezone, max 1 year)2026-06-24T15:46:00+00:00
AuthorizationExpirationDateTimedate-timeDeadline by which the consent must reach Authorized. MUST NOT be in the past or after ExpirationDateTime.2026-06-24T16:00:00+00:00
BaseConsentIdstring (uuid)Used when amending or renewing an existing consent—
ControlParameters*objectThe Bulk/Batch control parameters. Described below.—
PersonalIdentifiableInformation*string (JWE)Encrypted consent PII — the encryptedConsentPII string from Step 1eyJhbGci...
Fields that do not apply to a Bulk/Batch consent

A Bulk/Batch Payment consent is its own consent shape, identified by ControlParameters.ConsentSchedule carrying BulkBatchPayment. It carries no Permissions, CurrencyRequest, PaymentPurposeCode, DebtorReference or CreditorReference — the payment purpose and references of each payment are set on that payment — and its ControlParameters carry no IsDelegatedAuthentication. ConsentSchedule carries only BulkBatchPayment, so a batch cannot be combined with a single or multi-payment in one consent.

ControlParameters.ConsentSchedule.BulkBatchPayment (Required)

FieldTypeDescriptionExample
Description*string (1–140)The reason for the Bulk/Batch Payment. The LFI shows it to the User when the User authorizes the consentPayroll June 2026
NumberOfTransactions*integer (max 500)The number of payments in the batch, at most 500. MUST equal the number of elements in Instructions on POST /bulk-payments3
TotalValueOfPayments.Amount*stringThe total value of the payments, with exactly two decimal places. MUST equal the sum of Instructions[].Amount.Amount on POST /bulk-payments4250.00
TotalValueOfPayments.Currency*stringMust be AED — a Bulk/Batch Payment is a domestic payment. The Amount.Currency of every instruction MUST equal itAED
Derive the control parameters from the batch

Compute NumberOfTransactions and TotalValueOfPayments from the same list of payments you will send in Step 10, and sum the amounts in integer fils or a decimal type rather than binary floating point. A one-fils difference between TotalValueOfPayments.Amount and the sum of the instructions is enough for the API Hub to reject the batch — after the User has authorized it.

Example request

authorization_detailsjson
"authorization_details": [
  {
    "type": "urn:openfinanceuae:service-initiation-consent:v2.2",
    "consent": {
      "ConsentId": "{{unique-guid}}",
      "IsSingleAuthorization": true,
      "ExpirationDateTime": "2026-06-24T15:46:00+00:00",

      "ControlParameters": {
        "ConsentSchedule": {
          "BulkBatchPayment": {
            "Description": "Payroll June 2026",
            "NumberOfTransactions": 3,
            "TotalValueOfPayments": {
              "Amount": "4250.00",
              "Currency": "AED"
            }
          }
        }
      },

      // Encrypted PII from Step 1 — the Bulk and Batch Risk block
      "PersonalIdentifiableInformation": "{{encryptedConsentPII}}"
    }
  }
]
05 POST /par · Step 3 — Constructing the Request JWT

Bind PKCE and authorization details into a signed JWT

With your authorization_details ready, generate a PKCE code pair then use the buildRequestJWT() helper, passing payments openid as the scope.

Scope change required when using Permissions

If your consent includes ReadAccountsBasic, ReadAccountsDetail, ReadBalances, or ReadPartyIdentity, you must change the scope to accounts payments openid. Without the accounts scope the issued token will not grant access to the account endpoints. You will also need the BDSP role. See Account Permissions in a Payment Consent.

typescript
import crypto from 'node:crypto'
import { generateCodeVerifier, deriveCodeChallenge } from './pkce'
import { buildRequestJWT } from './request-jwt'

const codeVerifier  = generateCodeVerifier()
const codeChallenge = deriveCodeChallenge(codeVerifier)

// The batch the User is paying. NumberOfTransactions and TotalValueOfPayments
// are derived from it here, so they cannot drift from what POST /bulk-payments sends.
const payments = loadBatch()   // [{ amount: '1500.00', debtorIban: 'AE07...', creditor: {...}, creditorReference: 'EMP-001' }, ...]

const totalFils = payments
  .reduce((total, p) => total + Math.round(Number(p.amount) * 100), 0)

const authorizationDetails = [
  {
    type: 'urn:openfinanceuae:service-initiation-consent:v2.2',
    consent: {
      ConsentId: crypto.randomUUID(),
      IsSingleAuthorization: true,
      ExpirationDateTime: new Date(Date.now() + 60 * 60 * 1000).toISOString(), // 1 hour
      ControlParameters: {
        ConsentSchedule: {
          BulkBatchPayment: {
            Description: 'Payroll June 2026',
            NumberOfTransactions: payments.length,
            TotalValueOfPayments: {
              Amount: (totalFils / 100).toFixed(2),   // integer fils avoids float drift
              Currency: 'AED',                        // every instruction must use this currency
            },
          },
        },
      },
      PersonalIdentifiableInformation: encryptedConsentPII,  // from Step 1
    },
  },
]

const requestJWT = await buildRequestJWT({
  scope: 'payments openid',
  codeChallenge,
  authorizationDetails,
})
Store the code_verifier

Save codeVerifier in your server-side session or an httpOnly cookie — you will need it in Step 8 to exchange the authorization code for tokens.

See Preparing the Request JWT for the full JWT claim reference and PKCE helpers.

06 POST /par · Step 4 — Creating a Client Assertion

Prove the application's identity to the API Hub

Use the signJWT() helper to build a client assertion proving your application's identity:

typescript
import crypto from 'node:crypto'
import { signJWT } from './sign-jwt'

const CLIENT_ID = process.env.CLIENT_ID!
const ISSUER    = process.env.AUTHORIZATION_SERVER_ISSUER!

async function buildClientAssertion(): Promise<string> {
  return signJWT({
    iss: CLIENT_ID,
    sub: CLIENT_ID,
    aud: ISSUER,
    jti: crypto.randomUUID(),
  })
}

See Client Assertion for the full claims reference.

07 POST /par · Step 5 — Sending the /par Request

Push the request to the API Hub

Include x-fapi-interaction-id on the request — the API Hub echoes it in the response for end-to-end traceability. See Request Headers.

typescript
import crypto from 'node:crypto'

// PAR endpoint is read from .well-known/openid-configuration —
// not constructed from the issuer URL (it lives on a different host).
const PAR_ENDPOINT = discoveryDoc.pushed_authorization_request_endpoint

const parResponse = await fetch(PAR_ENDPOINT, {
  method: 'POST',
  headers: {
    'Content-Type':          'application/x-www-form-urlencoded',
    'x-fapi-interaction-id': crypto.randomUUID(),
  },
  body: new URLSearchParams({
    request:               requestJWT,
    client_assertion_type: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer',
    client_assertion:      await buildClientAssertion(),
  }),
  // agent: new https.Agent({ cert: transportCert, key: transportKey }),
})

const { request_uri, expires_in } = await parResponse.json()
mTLS transport certificate

You must present your transport certificate on every connection to the API Hub and resource APIs. See Certificates.

FieldDescriptionExample
request_uriSingle-use reference to your pushed authorization requesturn:ietf:params:oauth:request-uri:bwc4JDpSd7
expires_inSeconds until the request_uri expires — redirect the user before this window closes90
08 Redirecting the User · Step 6 — Building the Authorization URL

Send the user to the LFI to authenticate

The authorization_endpoint is found in the LFI's .well-known/openid-configuration — not constructed from the issuer URL directly.

typescript
// authorization_endpoint from .well-known/openid-configuration
// Each LFI sets its own path — there is no fixed structure
// e.g. on the altareq1 sandbox: 'https://auth1.altareq1.sandbox.apihub.openfinance.ae/auth'
const AUTHORIZATION_ENDPOINT = discoveryDoc.authorization_endpoint

const authCodeUrl = `${AUTHORIZATION_ENDPOINT}?client_id=${CLIENT_ID}&response_type=code&scope=openid&request_uri=${encodeURIComponent(request_uri)}`

window.location.href = authCodeUrl
// or server-side: res.redirect(authCodeUrl)
User Experience

See User Experience for what the User must be shown before and during authorization of a Bulk/Batch Payment.

After redirecting, the user will:

  • Authenticate with their bank.
  • Review the batch — its reason (Description), the number of payments and their total — on the bank's authorization screen.
  • Approve or decline.
09 Handling the Callback · Step 7 — Extracting the Authorization Code

Validate state and issuer on the redirect

After the user approves, the bank redirects to your redirect_uri:

callback URL
https://yourapp.com/callback?code=fbe03604-baf2-4220-b7dd-05b14de19e5c&state=d2fe5e2c-77cd-4788-b0ef-7cf0fc8a3e54&iss=https://auth1.altareq1.sandbox.apihub.openfinance.ae
typescript
const params = new URLSearchParams(window.location.search)

const code  = params.get('code')!
const state = params.get('state')!
const iss   = params.get('iss')!

if (state !== storedState) throw new Error('State mismatch — possible CSRF attack')
if (iss !== ISSUER)        throw new Error(`Unexpected issuer: ${iss}`)

See Handling Authorization Callbacks for a full guide on state validation, issuer verification, and replay prevention.

10 Exchanging the Code for Tokens · Step 8 — POST /token (Authorization Code)

Swap the auth code for an access and refresh token

POST/token
typescript
// Token endpoint is read from .well-known/openid-configuration —
// not constructed from the issuer URL (it lives on a different host).
const TOKEN_ENDPOINT = discoveryDoc.token_endpoint

const tokenResponse = await fetch(TOKEN_ENDPOINT, {
  method: 'POST',
  headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
  body: new URLSearchParams({
    grant_type:            'authorization_code',
    code,
    redirect_uri:          REDIRECT_URI,
    code_verifier:         codeVerifier,            // from Step 3
    client_assertion_type: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer',
    client_assertion:      await buildClientAssertion(),
  }),
  // agent: new https.Agent({ cert: transportCert, key: transportKey }),
})

const { access_token, refresh_token, expires_in } = await tokenResponse.json()
Token storage

Never store tokens in localStorage. Use httpOnly cookies or a server-side session store. See Tokens & Assertions for the full token lifecycle.

11 Creating the Payment · Step 9 — Encrypt PII for the Batch and each Instruction

Build the batch Risk PII and one instruction per payment

The PII of a Bulk/Batch Payment is split in two. The Risk block is carried once, for the whole batch, in Data.PersonalIdentifiableInformation (File Payment Risk PII Schema Object, AEFilePaymentRiskPIIProperties). The Debtor Account and creditor of each payment are carried in that payment's own PersonalIdentifiableInformation (File Payment PII Schema Object, AEFilePaymentPIIProperties), which has no Risk block.

Instruction PII fieldRequiredDescription
Initiation.DebtorAccountYesThe account this payment is made from. SchemeName must be IBAN; Identification is required; Name may be omitted if not held by the TPP
Initiation.CreditorAccountYesThe domestic Creditor Account of this payment
Initiation.CreditorNoThe creditor's name and postal address
Initiation.CreditorAgentNoThe Financial Institution that holds the Creditor Account
One JWE per payment

Encrypt each instruction's PII separately, with the same JWS-inside-JWE helper used in Step 1. Each element of Instructions carries exactly one Debtor Account and one creditor, and the payments in a batch may be made from different accounts. Confirmation of Payee is not carried for a Bulk/Batch Payment.

typescript
// encryptPII is the same JWS-inside-JWE helper used in Step 1.

// 9a — the Risk block, once for the whole batch (File Payment Risk PII Schema Object)
const batchPII = await encryptPII(
  { Risk: buildRisk(payments) },
  LFI_JWKS_URI, signingKey, SIGNING_KEY_ID,
)

// 9b — one PII token per payment (File Payment PII Schema Object):
// that payment's Debtor Account and creditor, and no Risk block
const instructions = await Promise.all(payments.map(async (p) => ({
  Amount: { Amount: p.amount, Currency: 'AED' },   // must equal TotalValueOfPayments.Currency
  PaymentPurposeCode: 'SAL',                       // set on each payment
  PersonalIdentifiableInformation: await encryptPII(
    {
      Initiation: {
        DebtorAccount: {
          SchemeName: 'IBAN',
          Identification: p.debtorIban,             // payments may come from different accounts
        },
        Creditor: { Name: p.creditor.name },
        CreditorAccount: {
          SchemeName: 'IBAN',
          Identification: p.creditor.iban,
          Name: { en: p.creditor.accountName },
        },
      },
    },
    LFI_JWKS_URI, signingKey, SIGNING_KEY_ID,
  ),
  DebtorReference:   'Payroll Jun26',
  CreditorReference: p.creditorReference,
})))

See Creditor for the creditor field reference and validation rules, and the Bulk and Batch Risk block for the batch's Risk.

12 Creating the Payment · Step 10 — Sign and Submit the Bulk/Batch Payment

POST /bulk-payments — signed JWT submission

POST/bulk-payments

The POST /bulk-payments body is sent as Content-Type: application/jwt — the payload is wrapped in a signed JWT (AEFilePaymentRequestSigned) using your private signing key, exactly as for POST /payments. Only ConsentId and PersonalIdentifiableInformation (the Risk block) are set once for the whole batch. Everything else, including the PaymentPurposeCode, is set on each payment, and a Bulk/Batch Payment carries no OpenFinanceBilling.

Include x-fapi-interaction-id and x-idempotency-key. If the customer is present, also send x-fapi-customer-ip-address, x-customer-user-agent and, if the customer has been authenticated, x-fapi-auth-date. See Request Headers. Generate a new x-idempotency-key for each batch and store it with the request before you send it. If you receive no response or an error, look the batch up by key with GET /bulk-payments before you retry, and retry only with the same key and the same body.

Data

FieldTypeDescription
ConsentId*string (uuid)The authorized consent
PersonalIdentifiableInformationstring (JWE)The batch's Risk block, from Step 9a. It applies to every payment in Instructions
Instructions*array (1–500)The payments in the batch, one element per payment. Described below.

Data.Instructions[]

FieldTypeDescription
Amount.Amount*stringPayment amount, with exactly two decimal places
Amount.Currency*stringMust be AED, equal to TotalValueOfPayments.Currency on the consent
PaymentPurposeCode*string (3 chars)AANI payment purpose code of this payment
PersonalIdentifiableInformation*string (JWE)This payment's encrypted Debtor Account and creditor, from Step 9b
DebtorReferencestringReference shown on the debtor's statement for this payment
CreditorReferencestringReference passed to the creditor for this payment
typescript
import { SignJWT } from 'jose'

const LFI_API_BASE = process.env.LFI_API_BASE_URL!

// Wrapped in `message` per AEFilePaymentRequestSigned
const bulkPaymentPayload = {
  message: {
    Data: {
      ConsentId:                       consentId,     // the authorized consent
      PersonalIdentifiableInformation: batchPII,      // from Step 9a — the batch's Risk block
      Instructions:                    instructions,  // from Step 9b — length MUST equal NumberOfTransactions
    },
  },
}

const signedBulkPayment = await new SignJWT(bulkPaymentPayload)
  .setProtectedHeader({ alg: 'PS256', kid: SIGNING_KEY_ID, typ: 'JWT' })
  .setIssuedAt()
  .setIssuer(CLIENT_ID)
  .setAudience(AUTHORIZATION_SERVER_ISSUER)
  .setExpirationTime('5m')
  .sign(signingKey)

const response = await fetch(`${LFI_API_BASE}/open-finance/payment/v2.2/bulk-payments`, {
  method: 'POST',
  headers: {
    'Authorization':              `Bearer ${access_token}`,
    'Content-Type':               'application/jwt',
    'x-idempotency-key':          idempotencyKey,     // one key per batch; reuse it on every retry
    'x-fapi-interaction-id':      crypto.randomUUID(),
    'x-fapi-auth-date':           lastCustomerAuthDate,
    'x-fapi-customer-ip-address': customerIpAddress,
  },
  body: signedBulkPayment,
  // agent: new https.Agent({ cert: transportCert, key: transportKey }),
})

const { Data: { BulkPaymentId, Instructions } } = await response.json()
// Store BulkPaymentId for the batch, and each Instructions[i].PaymentId for its payment
Validation against the consent

The API Hub validates the request against the BulkBatchPayment control parameters of the authorized consent. The number of elements in Instructions MUST equal NumberOfTransactions, the Amount.Currency of every element MUST equal TotalValueOfPayments.Currency, and the sum of their Amount.Amount values MUST equal TotalValueOfPayments.Amount. A request that fails any of these checks is rejected. The LFI then decrypts the batch PII and the PII of each instruction.

A successful POST /bulk-payments

A 201 Created response is returned as a signed JWT (application/jwt). The verified JWT body is a message envelope wrapping Data and Links per AEFilePaymentIdResponseSigned.

Response body — Data

FieldRequiredDescription
BulkPaymentIdYesIdentifier of the Bulk/Batch Payment as a whole — use it to read the status of its payments
ConsentIdYesThe consent this Bulk/Batch Payment is bound to
CreationDateTimeYesISO 8601 datetime when the resource was created
InstructionsYesOne element per payment, in the order of the request. Each carries its own PaymentId, Status, StatusUpdateDateTime, Amount and PaymentPurposeCode, and where available PaymentTransactionId, PaymentRail, RejectReasonCode, DebtorReference and CreditorReference
201 Created — decoded JWT bodyjson
{
  "message": {
    "Data": {
      "BulkPaymentId": "4f1c2a9e-7b3d-4e8a-9c61-2d5f0b7a8e13",
      "ConsentId": "b8f42378-10ac-46a1-8d20-4e020484216d",
      "CreationDateTime": "2026-06-24T15:47:02+00:00",
      "Instructions": [
        {
          "PaymentId": "83b47199-90c2-4c05-9ef1-aeae68b0fc7c",
          "Status": "Pending",
          "StatusUpdateDateTime": "2026-06-24T15:47:02+00:00",
          "Amount": { "Amount": "1500.00", "Currency": "AED" },
          "PaymentPurposeCode": "SAL",
          "CreditorReference": "EMP-001"
        },
        {
          "PaymentId": "1d2e9a40-5c7b-4f18-8e36-0b9a2c4d7e51",
          "Status": "Pending",
          "StatusUpdateDateTime": "2026-06-24T15:47:02+00:00",
          "Amount": { "Amount": "1500.00", "Currency": "AED" },
          "PaymentPurposeCode": "SAL",
          "CreditorReference": "EMP-002"
        },
        {
          "PaymentId": "a7c3f5e2-9b14-4d6a-b08e-3e5f1c2d9a74",
          "Status": "Pending",
          "StatusUpdateDateTime": "2026-06-24T15:47:02+00:00",
          "Amount": { "Amount": "1250.00", "Currency": "AED" },
          "PaymentPurposeCode": "SAL",
          "CreditorReference": "EMP-003"
        }
      ]
    },
    "Links": {
      "Self": "https://api.lfi.example/open-finance/payment/v2.2/bulk-payments/4f1c2a9e-7b3d-4e8a-9c61-2d5f0b7a8e13"
    }
  }
}

See the POST /bulk-payments API reference for the full request and response schema.

13 Tracking the Batch · Step 11 — Payment Status

Read the status of each payment

GET/bulk-payments/{BulkPaymentId}

Read the Bulk/Batch Payment with GET /bulk-payments/{BulkPaymentId}. It takes a client-credentials access token (scope openid payments) rather than the consent's access token — see Tokens & Assertions.

The Bulk/Batch Payment carries no status of its own. Each element of Instructions carries the same status fields as a single payment on GET /payments/{PaymentId} — Pending through to AcceptedWithoutPosting, AcceptedCreditSettlementCompleted or Rejected — and the LFI updates them in the same way. Each payment settles over its own rail, reported in its PaymentRail. See Payment Rails and Status.

typescript
// GET /bulk-payments/{BulkPaymentId} takes a client-credentials token
// (scope openid payments), not the consent's access token.
const statusResponse = await fetch(
  `${LFI_API_BASE}/open-finance/payment/v2.2/bulk-payments/${BulkPaymentId}`,
  {
    headers: {
      'Authorization':         `Bearer ${clientCredentialsToken}`,
      'x-fapi-interaction-id': crypto.randomUUID(),
    },
  },
)
const { Data } = await statusResponse.json()
// The batch carries no status of its own. Data.Instructions has one element per
// payment, in request order — read each as you would a single payment.
for (const p of Data.Instructions) {
  // p.PaymentId, p.Status ('Pending' | 'AcceptedSettlementCompleted' | ... | 'Rejected'),
  // p.PaymentRail, p.RejectReasonCode
}
14 Tracking the Batch · Step 12 — Individual Payment Status

Check the status of an individual PaymentId

GET/bulk-payments/{BulkPaymentId}/payments/{PaymentId}

Each payment in a Bulk/Batch Payment has its own PaymentId, returned on its element of Instructions in the 201 response to POST /bulk-payments. To check one payment without reading the whole batch, call GET /bulk-payments/{BulkPaymentId}/payments/{PaymentId}. It takes a client-credentials access token (scope openid payments), not the consent's access token.

Data is that payment's element of Instructions, exactly as GET /bulk-payments/{BulkPaymentId} returns it for every payment (AEFilePaymentInstructionResponse), with Links. Read Status and StatusUpdateDateTime, and where present PaymentRail, PaymentTransactionId and RejectReasonCode. A PaymentId that is not a payment within the Bulk/Batch Payment identified by BulkPaymentId returns 404. See Payment Rails and Status.

typescript
// One payment from the batch, by its BulkPaymentId and the PaymentId on its
// element of Instructions. Takes a client-credentials token (scope openid payments).
const paymentId = Instructions[0].PaymentId   // from the POST /bulk-payments response

const paymentResponse = await fetch(
  `${LFI_API_BASE}/open-finance/payment/v2.2/bulk-payments/${BulkPaymentId}/payments/${paymentId}`,
  {
    headers: {
      'Authorization':         `Bearer ${clientCredentialsToken}`,
      'x-fapi-interaction-id': crypto.randomUUID(),
    },
  },
)
// Data is that payment's element of Instructions on GET /bulk-payments/{BulkPaymentId}.
// 404 if the PaymentId is not a payment within this Bulk/Batch Payment.
const { Data: { Status, StatusUpdateDateTime, PaymentRail, RejectReasonCode } } = await paymentResponse.json()

In the single-payment shape

The same PaymentId can also be read with GET /payments/{PaymentId}, exactly as for a single payment. It is returned in the single-payment shape (AEPaymentIdResponse), with these differences for a payment within a batch:

FieldFor a payment within a Bulk/Batch Payment
ConsentIdThe Bulk/Batch Payment's consent
Instruction.Amount, PaymentPurposeCode, DebtorReferenceThose of that payment
OpenFinanceBillingAbsent — a Bulk/Batch Payment carries none

Use GET /bulk-payments/{BulkPaymentId} (Step 11) to follow the whole batch, and GET /bulk-payments/{BulkPaymentId}/payments/{PaymentId} to follow a single payment within it — for example, one the User asks about, or one still at Pending.