Skip to main content
POST
Pre-validate a batch payment before initiation

Authorizations

api-key
string
header
default:410ca5cd265a4111982375d50802b7f8
required

Headers

Idempotent-Request-Key
string

Client-generated unique key that makes the inquiry safe to retry. A repeated call with the same key returns the original result instead of creating a new inquiry.

Timestamp
string<date-time>

Date and time at which the caller created the request, in RFC3339 UTC format. Used for tracing and ordering of requests.

Body

application/json

Request to pre-validate a batch payment. Groups the batch header, the originating company, the parties and accounts involved, and optional custom fields.

batchDetails
Batch details · object

Header of the batch with its payment mechanism, requested execution date, record counts, totals and currency. Totals and counts are sent as strings and must be consistent with the payments in the batch.

batchPaymentParty
Batch payment Party · object

Party, account, bank and product information for the debit or credit side of the batch.

companyDetails
Company details · object

The company or organization that originates the batch, identified by its company ID. Appears on the statements of the receiving parties.

customFields
CustomFields · object

Free form key and value pairs for bank specific data that has no dedicated field. All values are strings.

Response

The batch was received and pre-validated. The body carries the batch reference and its status, plus a reason code and text when the batch is not accepted.

Outcome of the batch pre-validation. Carries the batch reference, its current status and, when the batch is not accepted, a reason code and explanatory text.

batchReference
string

Unique identifier of the batch as submitted in the inquiry, echoed back for correlation.

Example:

"12345"

customFields
CustomFields · object

Free form key and value pairs for bank specific data that has no dedicated field. All values are strings.

externalId
string

Identifier of the batch in the external payment system, so the batch can be tracked there independently of the batch reference.

Maximum string length: 36
Example:

"12345"

reasonCode
string

Code explaining why the batch received its status, set when the batch is not accepted.

Example:

"123"

status
string

Current processing status of the batch, for example batch_initiated. The full list of values is not documented in the specification.

Example:

"batch_initiated"

statusReason
string

Human readable text that complements the reason code, for example Invalid accountId.

Example:

"Invalid accountId"