Create payment transaction

Create a new payment transaction on this merchant payment account.

Path Params
string
required

Merchant payment account ident. Must not be null.

Body Params
baseAmount
object
required

A monetary amount with an amount and a currency.

batchItems
array of objects | null

List of batch items that will be updated

batchItems
date-time
required

The date of the account transaction. ISO 8601 date time format. When no offset is provided (e.g. 2021-03-19T13:34:01), UTC is automatically used. Must not be null.

date-time | null

The date of a creation of a payment. ISO 8601 date time format. When no offset is provided (e.g. 2021-03-19T13:34:01), UTC is automatically used.

string
required

A description, whether this payment transaction is a DEBIT, removing money from the account or a CREDIT, adding money to the account. Must not be null. Must be one of:

CREDIT
DEBIT
string | null

Is an optional customer specific ident, that can be used to identify this payment transaction. Size must be between 0 and 255.

number | null
> 0

Exchange rate used to calculate original and base amounts.

  • Exchange rate must be provided when the original currency is different from the base currency.
  • The rate should fulfill following calculation: originalAmount / exchangeRate = baseAmount, with an error margin of 0.01.
  • Exchange rate value needs to be expressed with max 5 decimals. E.g.: 4.54321.
  • If an original amount is not provided in a request, special 'self' exchange rate is automatically created with a value of 1.00000. Must be greater than or equal to 0.0. Must be a number with up to 10 integral digits and up to 5 fractional digits.
string
required
length ≤ 255

External reference that needs to be unique within a payment account. Generally it is provided by a Payment Service Provider or a bank. Cannot be amended after the initial POST. Must not be blank. Size must be between 0 and 255.

fees
array of objects | null

Any fees imposed on this payment.

fees
string | null

Unique identifier of a payment transaction, autogenerated by Nitrobox if omitted. Must have size between 1 and 100 and match with the regular expression '[a-zA-Z0-9_.~-]{1,100}'.

originalAmount
object | null

A monetary amount with an amount and a currency.

string
required
length ≤ 255

Name of a payment category that this payment is classified to. Must be one of the categories defined in Nitrobox, otherwise the payment will be rejected.Category selection have an influence on how the payment is processed further. Must not be blank. Size must be between 0 and 255.

properties
array of objects | null

Key-Value-Pairs of properties of a settlement - i.e. 'GVC':'166'

properties
string | null

The recipient of the payment transfer. Size must be between 0 and 255.

string | null

The sender of the payment transfer. Size must be between 0 and 255.

string
required

The status this payment transaction is in. Must not be null. Must be one of:

RECEIVED
ERROR
REFUSED
AUTHORIZED
EXPIRED
CANCELLED
CAPTURED
CAPTURE_FAILED
SETTLED
REFUNDED
CHARGEBACK
string | null

Any additional information about a payment like purpose, description, payment title, etc. This is often used for matching the payment to a document. Size must be between 0 and 1400.

date-time
required

The date on which the account transaction takes effect. ISO 8601 date time format. When no offset is provided (e.g. 2021-03-19T13:34:01), UTC is automatically used. Must not be null.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
Response
Choose an example:
application/json