Assign Payment

Create manual assignment between a payment and a given entity: DOCUMENT (invoice, credit memo, ...) or ORDER.

    NOTE: When assigning to an order, if the order has exactly one associated document the payment will be assigned to that document instead.
Body Params

Create payment assignment request. If the assigned amount is not explicitly set, the remaining transaction amount is used for payment transaction assignments, and the batch item amount is used for batch items

Amount | null

Assigned amount. If not explicitly set, the remaining transaction amount is used for payment transaction assignments, and the batch item amount is used for batch items

string
required
length between 1 and 100

Unique identifier.

string | null

Ident of the payment transaction batch item

string
required
length between 1 and 255

Ident of the payment transaction.
Must not be null.
Size must be between 1 and 255.
Must match the regular expression ^\S(.*\S)?$.

string
required
length between 1 and 255

Ident of the assignment target, i.e. document or order ident.
Must not be null.
Size must be between 1 and 255.
Must match the regular expression ^\S(.*\S)?$.

string
required

Type of the assignment target.
Must not be null.
Type of the assignment target.

NOTE:* This does not necessarily need to be the actual targetType of the resulting assignments,
as for the ident of orders with a single associated document the payment will be assigned to the
document instead.
One of:

DOCUMENTThe target is a document
ORDERThe target is an order
Responses

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