# Get bulk payment information

Endpoint: GET /bulk-payments/{paymentProduct}/{paymentId}
Version: 1.0.0
Security: Api access

## Security:

  - `Api access` (unknown)
    oauth2 scopes: services.banking, api

## Path parameters:

  - `paymentProduct` (string, required)
    The payment product type.

  - `paymentId` (string, required)
    Resource identifier of the bulk payment initiation.

## Query parameters:

  - `cursor` (string)
    A reference to a specific page.

## Header parameters:

  - `PSU-IP-Address` (string)
    IP Address of the PSU.

  - `Consent-ID` (string)
    The consent id. Should be set unless a specific Subscription-Id is used.

  - `Channel-Type` (string)
    The banking channel.

  - `Subscription-Id` (string)
    Id of the subscription to use. Only supported for Channel-Type `openBanking`.

  - `Resource-Group-Name` (string)
    Name of the resource group to use in the specified subscription. Only supported for Channel-Type `openBanking`

  - `Scopes` (array)
    Resource scopes to use, mutually exclusive with `subscriptionId`.
- `/`
: Use all resources available.
- `/subscriptions/7fdf00601dfb`
: Use all resources in subscription 7fdf00601dfb.
- `/subscriptions/7fdf00601dfb/resource-groups/my-company`
: Use all resources within subscription 7fdf00601dfb and resource-group my-company.

  - `api-version` (string)

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `paymentId` (string)
    Resource identifier of the payment initiation.
    Example: p1pbb64b18233714bf38204314e3faa03bc

  - `transactionStatus` (string)
    Enum: "accc", "accp", "acsc", "acsp", "actc", "acwc", "acwp", "rcvd", "pdng", "rjct", "canc", "acfc", "patc", "part"

  - `tppMessage` (array)
    Messages from the ASPSP to the TPP on operational issues.

  - `tppMessage.category` (string, required)
    Enum: "ERROR", "WARNING"

  - `tppMessage.code` (string, required)
    Code of the TPP message.
    Example: AC03

  - `tppMessage.message` (null | string)
    Additional explaining text.

  - `requestedExecutionDate` (null | string)
    The requested execution date of the payment.

  - `debtorAccount` (object)
    Account reference

  - `debtorAccount.iban` (null | string)
    IBAN of the account
    Example: FR7612345987650123456789014

  - `debtorAccount.bban` (null | string)
    BBAN of the account - ISO 20022
    Example: BARC12345612345678

  - `debtorAccount.other` (object)
    Generic account reference.

  - `debtorAccount.other.identification` (string, required)
    Account identification.
    Example: 123-1234

  - `debtorAccount.other.schemeName` (string, required)
    Name of the identification scheme.
**Example:**
* `BBAN`
: Basic Bank Account Number.
* `BGNR`
: Bankgirot number.
* `PGNR`
: PlusGirot number.
* `giro`
: Giro Denmark.
    Example: BGNR

  - `debtorAccount.currency` (null | string)
    Currency code - ISO 4217
    Example: EUR

  - `debtorAccount.pan` (null | string)
    Primary Account Number - ISO/IEC 7812
    Example: 5409050000000000

  - `debtorAccount.maskedPan` (null | string)
    Masked Primary Account Number - ISO/IEC 7812
    Example: 123456xxxxxx1234

  - `debtorAccount.msisdn` (null | string)
    Mobile phone number
    Example: +491701234567

  - `debtorName` (null | string)
    Debtor name.
    Example: Max Mustermann

  - `debtorAddress` (object)
    Postal address.

  - `debtorAddress.streetName` (null | string)
    Name of the street.
    Example: Storgata

  - `debtorAddress.buildingNumber` (null | string)
    Building number within the street.
    Example: 56

  - `debtorAddress.postCode` (null | string)
    Post code of the address.
    Example: 0182

  - `debtorAddress.townName` (null | string)
    Name of the town or city.
    Example: Oslo

  - `debtorAddress.country` (string, required)
    ISO 3166-1 Alpha-2 country code.
    Example: NO

  - `createdAt` (null | string)
    Timestamp when the payment was created.

  - `updatedAt` (null | string)
    Timestamp when the payment was last updated.

  - `_links` (object)
    Links related to a paged payment initiation response.

  - `_links.self` (object)

  - `_links.self.href` (string)
    Url to a resource
    Example: https://banking.aritma.io/api/resource?cursor=abc123

  - `_links.self.verb` (string)
    Enum: "get", "post", "put", "delete"

  - `batchBookingPreferred` (boolean)
    If this element equals true, the PSU prefers only one booking entry. If this element equals false, the PSU prefers individual 
booking of all contained individual transactions.

  - `payments` (array)
    The individual payment lines within the bulk payment.

  - `payments.endToEndIdentification` (null | string)
    End to end identification

  - `payments.instructedAmount` (object, required)
    Amount with currency

  - `payments.instructedAmount.currency` (null | string)
    The three-letter currency code of the amount - ISO 4217
    Example: NOK

  - `payments.instructedAmount.amount` (null | string)
    The amount value. Negative amounts are signed by minus. The decimal separator is a dot.
**Example:**
* 0
* 154
* -1.75
* 349.7
* 3632.78
    Example: 3632.78

  - `payments.creditorAccount` (object, required)

  - `payments.creditorAccount.iban` (null | string)
    IBAN of the account
    Example: FR7612345987650123456789014

  - `payments.creditorAccount.bban` (null | string)
    BBAN of the account - ISO 20022
    Example: BARC12345612345678

  - `payments.creditorAccount.currency` (null | string)
    Currency code - ISO 4217
    Example: EUR

  - `payments.creditorAgent` (null | string)
    BICFI
    Example: DNBANOKK

  - `payments.creditorAgentCountryCode` (null | string)
    Country code of the creditor agent.
    Example: NO

  - `payments.creditorAgentClearingSystem` (object)
    Information about a clearing system member, which might be required for payments to non EEA member states.

  - `payments.creditorAgentClearingSystem.memberId` (string, required)
    Clearing system member id
    Example: USABA123456789

  - `payments.creditorName` (string, required)
    Creditor name
    Example: Ola

  - `payments.remittanceInformationUnstructured` (null | string)
    Unstructured remittance information
    Example: message

  - `payments.remittanceInformationStructured` (object)
    Structured remittance information

  - `payments.remittanceInformationStructured.reference` (null | string)
    Reference
    Example: 777588823

  - `payments.remittanceInformationStructured.referenceType` (null | string)
    Reference type
    Example: SCOR

  - `payments.remittanceInformationStructured.referenceIssuer` (null | string)

  - `payments.remittanceInformationStructuredArray` (null | array)

  - `payments.purposeCode` (null | string)
    External purpose code (ExternalPurpose1Code from ISO 20022)
**Example:**
* SUPP: Payment to a supplier.
* SALA: Payment of salaries.
* IPAY: Instant payment.
* INTC: Intra-company payment.
* TAXS: Payment of taxes.
* PENS: Payment of pension.
* TREA: Treasury operations.
* CORT: Settlement of a trade, e.g. a foreign exchange deal or a securities transaction.

An example usage of this field is for salary payments. They would typically use the purpose code "SALA".

  - `payments.purposeProprietary` (null | string)
    Purpose in a proprietary form.

  - `payments.categoryPurposeCode` (null | string)
    External category purpose code (ExternalCategoryPurpose1Code from ISO 20022)
Supported values are: [
BONU, CASH, CBLK, CCRD, CORT, DCRD, DIVI, DVPM, EPAY, FCIN, FCOL,
GP2P, GOVT, HEDG, ICCP, IDCP, INTC, INTE, LBOX, LOAN, MP2B, MP2P,
OTHR, PENS, RPRE, RRCT, RVPM, SALA, SECU, SSBE, SUPP, TAXS, TRAD,
TREA, VATX, WHLD, SWEP, TOPG, ZABA, VOST, FCDT, CIPC, CONC, CGWV,
SAVG, CTDF
]
An example usage of this field is for salary payments. They would typically use the purpose code "SALA".

  - `payments.regulatoryReportingCode` (null | string)
    Regulatory reporting code
    Example: 26

  - `payments.regulatoryReportingInformation` (null | string)
    Regulatory reporting info
    Example: Rent

  - `payments.bundleReference` (null | string)
    Reference that can be used for choosing what payments will be bundled together
    Example: bundle-id-123456789

  - `payments.instructionPriority` (string)
    Indictator of the urgency or order of importance that the payment is requested processed.
    Enum: "normal", "high", "urgent"

  - `payments.paymentId` (null | string)
    Unique payment identification

  - `payments.createdAt` (null | string)

  - `payments.updatedAt` (null | string)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

