Go Back

POST v1/payments

Create a new payment for a specified invoice

Request Information

URI Parameters

None.

Body Parameters

Payment
NameDescriptionTypeAdditional information
DocId

string

None.

Amount

decimal number

None.

InternalNotes

string

None.

DateOfPayment

date

None.

PaymentMethodId

PaymentMethod

None.

Id

integer

None.

SendConfirmation

boolean

None.

Currency

string

None.

OrganizationName

string

None.

Key

string

None.

ReceiptId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DocId": "sample string 1",
  "Amount": 1.0,
  "InternalNotes": "sample string 2",
  "DateOfPayment": "2016-12-03T15:05:27.4395838+00:00",
  "PaymentMethodId": 0,
  "Id": 1,
  "SendConfirmation": true,
  "Currency": "sample string 4",
  "OrganizationName": "sample string 5",
  "Key": "sample string 6",
  "ReceiptId": "sample string 7"
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Go Back