POST v1/Orders/{orderId}/Payments

Adds the specified payment.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
orderId

The order identifier.

integer

Required.

Body Parameters

The order payment.

PaymentChanges
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Must be 0

OrderId

Gets or sets the order identifier.

integer

None.

ShopId

Gets or sets the shop identifier.

integer

None.

ShopOwnerId

Gets or sets the ShopOwnerId identifier.

integer

Required

InvoiceId

Gets or sets the invoice identifier.

integer

None.

Amount

The payment amount.

decimal number

Required

PaymentDate

Gets or sets the PaymentDate.

date

Required

CurrencyId

Gets or sets the currency identifier.

integer

Required

CurrencyCode

Gets or sets the currency code.

string

None.

Note

Gets or sets the note.

string

Max length: 1000

AccountNumber

Gets or sets the AccountNumber.

string

Max length: 50

AccountName

Gets or sets the AccountName.

string

Max length: 100

TransactionId

Gets or sets the TransactionId.

string

Max length: 100

CreationDate

Gets or sets the CreationDate.

date

Required

ImportSource

Gets or sets the ImportSource.

string

Max length: 50

PaymentTypeId

Gets or sets the payment type identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OrderId": 1,
  "ShopId": 1,
  "ShopOwnerId": 2,
  "InvoiceId": 1,
  "Amount": 3.0,
  "PaymentDate": "2026-04-03T18:25:37.067353+02:00",
  "CurrencyId": 5,
  "CurrencyCode": "sample string 6",
  "Note": "sample string 7",
  "AccountNumber": "sample string 8",
  "AccountName": "sample string 9",
  "TransactionId": "sample string 10",
  "CreationDate": "2026-04-03T18:25:37.0678088+02:00",
  "ImportSource": "sample string 12",
  "PaymentTypeId": 1
}

application/xml, text/xml

Sample:
<PaymentChanges xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <OrderId>1</OrderId>
  <ShopId>1</ShopId>
  <ShopOwnerId>2</ShopOwnerId>
  <InvoiceId>1</InvoiceId>
  <Amount>3</Amount>
  <PaymentDate>2026-04-03T18:25:37.067353+02:00</PaymentDate>
  <CurrencyId>5</CurrencyId>
  <CurrencyCode>sample string 6</CurrencyCode>
  <Note>sample string 7</Note>
  <AccountNumber>sample string 8</AccountNumber>
  <AccountName>sample string 9</AccountName>
  <TransactionId>sample string 10</TransactionId>
  <CreationDate>2026-04-03T18:25:37.0678088+02:00</CreationDate>
  <ImportSource>sample string 12</ImportSource>
  <PaymentTypeId>1</PaymentTypeId>
</PaymentChanges>

Response Information

Resource Description

The HttpResponseMessage object.


Payment
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Must be 0

OrderId

Gets or sets the order identifier.

integer

None.

ShopId

Gets or sets the shop identifier.

integer

None.

ShopOwnerId

Gets or sets the ShopOwnerId identifier.

integer

Required

InvoiceId

Gets or sets the invoice identifier.

integer

None.

Amount

The payment amount.

decimal number

Required

PaymentDate

Gets or sets the PaymentDate.

date

Required

CurrencyId

Gets or sets the currency identifier.

integer

Required

CurrencyCode

Gets or sets the currency code.

string

None.

Note

Gets or sets the note.

string

Max length: 1000

AccountNumber

Gets or sets the AccountNumber.

string

Max length: 50

AccountName

Gets or sets the AccountName.

string

Max length: 100

TransactionId

Gets or sets the TransactionId.

string

Max length: 100

CreationDate

Gets or sets the CreationDate.

date

Required

ImportSource

Gets or sets the ImportSource.

string

Max length: 50

PaymentTypeId

Gets or sets the payment type identifier.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OrderId": 1,
  "ShopId": 1,
  "ShopOwnerId": 2,
  "InvoiceId": 1,
  "Amount": 3.0,
  "PaymentDate": "2026-04-03T18:25:37.0732123+02:00",
  "CurrencyId": 5,
  "CurrencyCode": "sample string 6",
  "Note": "sample string 7",
  "AccountNumber": "sample string 8",
  "AccountName": "sample string 9",
  "TransactionId": "sample string 10",
  "CreationDate": "2026-04-03T18:25:37.0732123+02:00",
  "ImportSource": "sample string 12",
  "PaymentTypeId": 1
}

application/xml, text/xml

Sample:
<Payment xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <OrderId>1</OrderId>
  <ShopId>1</ShopId>
  <ShopOwnerId>2</ShopOwnerId>
  <InvoiceId>1</InvoiceId>
  <Amount>3</Amount>
  <PaymentDate>2026-04-03T18:25:37.0732123+02:00</PaymentDate>
  <CurrencyId>5</CurrencyId>
  <CurrencyCode>sample string 6</CurrencyCode>
  <Note>sample string 7</Note>
  <AccountNumber>sample string 8</AccountNumber>
  <AccountName>sample string 9</AccountName>
  <TransactionId>sample string 10</TransactionId>
  <CreationDate>2026-04-03T18:25:37.0732123+02:00</CreationDate>
  <ImportSource>sample string 12</ImportSource>
  <PaymentTypeId>1</PaymentTypeId>
</Payment>