TAG LINE
TAG LINE
SMALL TITLE

Payment

(API Version v10)


Represents a Payment that has been made on an account.


What can you do with Payment?

  • DELETE Payment/{id}
    Delete an instance of the Payment object.

  • GET Payment/
    Retrieve all of the Payment objects.

  • GET Payment/Paged
    Retrieve all of the Payment objects in a paged fashion.

  • GET Payment/Paged/Detail
    Retrieve all of the Payment objects in a paged fashion with all object details.

  • GET Payment/{id}
    Retrieve an instance of the Payment object by its ID.

  • GET Payment/{id}/Detail
    Retrieve deep detail of the Payment object by its ID.

  • PATCH Payment/{id}
    Update or Add the Payment object and optionally make changes to any child objects.

  • POST Payment/
    Create a new instance of the Payment object.

  • POST Payment/Reverse
    Reverse an existing Payment. Payment details provided in body of POST request.

  • POST Payment/Reverse/Vendor
    Reverse an existing Payment. Payment details provided in body of POST request.

  • POST Payment/Vendor
    Create a Payment to be processed by a specified Payment gateway vendor. Payment details provided in body of POST request.

  • PUT Payment/{id}
    Update an existing instance of the Payment object.


Properties

Property Details
identity
READ-ONLY
"identity": 20
Type: Number
This is the unique numeric identifier for the Payment
date
"date": "2021-04-26T15:25:27.587Z"
Type: Date
Date the payment was made.

Date and time values are specified in the ISO 8601 format.
amount
"amount": 1235.89
Type: Number
The amount paid in the Account's currency.
accountId
"accountId": 17
Type: Number
Unique identifier for the associated Account object.
accountName
"accountName": "Sample Name"
Type: String
The name of the object associated with the accountId property.
disbursed
"disbursed": true
Type: Boolean
Whether or not this payment has been disbursed to an invoice.
paymentTypeId
"paymentTypeId": 16
Type: Number
Unique identifier for the associated PaymentType object.
paymentTypeName
"paymentTypeName": "Sample Name"
Type: String
The name of the object associated with the paymentTypeId property.
detail
"detail": "Payment Recieved"
Type: String
Description of payment to show on an invoice.
cardTypeId
"cardTypeId": 19
Type: Number
Unique identifier for the associated CardType object.
cardTypeName
"cardTypeName": "Sample Name"
Type: String
The name of the object associated with the cardTypeId property.
checkNumber
"checkNumber": "1236-9658"
Type: String
If the payment was received as a check, this is the check number.
automaticDisburse
"automaticDisburse": true
Type: Boolean
Whether or not this payment has was automatically disbursed.
created
READ-ONLY
"created": "2021-04-26T15:25:27.587Z"
Type: Date
This is a system generated date when the record was created. Date and time values are specified in the ISO 8601 format.
invoiceId
"invoiceId": 6
Type: Number
Unique identifier for the associated Invoice object.
invoiceName
"invoiceName": "Sample Name"
Type: String
The name of the object associated with the invoiceId property.
posting
"posting": "2021-04-26T15:25:27.587Z"
Type: Date
Date the payment should be shown as posted.

Date and time values are specified in the ISO 8601 format.
baseAmount
"baseAmount": 1345.89
Type: Number
The payment amount in the system/owner currency.
invoiceAmount
"invoiceAmount": 1
Type: Number
Whether or not this payment was a manual payment and not run through a payment processor.
currencyExchangeDetailId
"currencyExchangeDetailId": 9
Type: Number
Unique identifier for the associated CurrencyExchangeDetail object.
currencyExchangeDetailName
"currencyExchangeDetailName": "Sample Name"
Type: String
The name of the object associated with the currencyExchangeDetailId property.
billRunHistoryId
"billRunHistoryId": 24
Type: Number
Unique identifier for the associated BillRunHistory object.
billRunHistoryName
"billRunHistoryName": "Sample Name"
Type: String
The name of the object associated with the billRunHistoryId property.
isManual
"isManual": true
Type: Boolean
Whether or not this payment was a manual payment and not run through a payment processor.
reversePaymentId
"reversePaymentId": 23
Type: Number
Unique identifier for the associated Payment object.
reversePaymentName
"reversePaymentName": "Sample Name"
Type: String
The name of the object associated with the reversePaymentId property.
createdByUserId
"createdByUserId": 9
Type: Number
Unique identifier for the associated User object.
createdByUserName
"createdByUserName": "Sample Name"
Type: String
The name of the object associated with the createdByUserId property.
paymentMethodId
"paymentMethodId": 21
Type: Number
Unique identifier for the associated PaymentMethod object.
paymentMethodName
"paymentMethodName": "Sample Name"
Type: String
The name of the object associated with the paymentMethodId property.
paymentPreAuthorizeId
"paymentPreAuthorizeId": 9
Type: Number
Unique identifier for the associated PaymentPreAuthorize object.
paymentPreAuthorizeName
"paymentPreAuthorizeName": "Sample Name"
Type: String
The name of the object associated with the paymentPreAuthorizeId property.
paymentTransactionId
"paymentTransactionId": 4
Type: Number
Unique identifier for the associated PaymentTransaction object.
paymentTransactionName
"paymentTransactionName": "Sample Name"
Type: String
The name of the object associated with the paymentTransactionId property.
createdByPortalUserId
"createdByPortalUserId": 23
Type: Number
Unique identifier for the associated PortalUser object.
createdByPortalUserName
"createdByPortalUserName": "Sample Name"
Type: String
The name of the object associated with the createdByPortalUserId property.
paymentStatusTypeId
"paymentStatusTypeId": 10
Type: Number
Unique identifier for the associated PaymentStatusType object.
paymentStatusTypeName
"paymentStatusTypeName": "Sample Name"
Type: String
The name of the object associated with the paymentStatusTypeId property.
retryPaymentId
"retryPaymentId": 2
Type: Number
Unique identifier for the associated Payment object.
retryPaymentName
"retryPaymentName": "Sample Name"
Type: String
The name of the object associated with the retryPaymentId property.
updated
READ-ONLY
"updated": "2021-04-26T15:25:27.587Z"
Type: Date
The date time stamp when this record was updated. Date and time values are specified in the ISO 8601 format.


Patch Types

The PATCH verb allows you to update an object. Just like a put, you only need to supply the fields that will be updated in the payload. However, a patch allows you to update many objects at once.

PATCH operations can be used as a standard API call. Below you will find the child objects that can be updated as part of PATCH operations for the Payment object.

Standard PATCH objects:

  • paymentInvoiceDisbursement - create, update, delete

DataFlow PATCH objects:

  • payment - create, update, delete
  • paymentInvoiceDisbursement - create, update, delete

End Points

DELETEPayment/{id}
Delete an instance of the Payment object. Upon successful delete, this API will return a record of all of the related objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the Payment object.
Delete an instance of the Payment object.
DELETE Payment/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "delete",
    "results": {
        "totalCount": 4,
        "items": [
            {
                "identity": 1,
                "action": "deleted",
                "dtoTypeKey": "payment"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETPayment/
Retrieve all of the Payment objects.
Retrieve all of the Payment objects.
GET Payment/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "date": "2021-04-26T15:25:27.587Z",
            "amount": 1235.89,
            "accountId": 9,
            "accountName": "Sample Text Data",
            "disbursed": true,
            "paymentTypeId": 14,
            "paymentTypeName": "Sample Text Data",
            "detail": "Payment Recieved",
            "cardTypeId": 18,
            "cardTypeName": "Sample Text Data",
            "checkNumber": "1236-9658",
            "automaticDisburse": true,
            "created": "2021-04-26T15:25:27.587Z",
            "invoiceId": 19,
            "invoiceName": "Sample Text Data",
            "posting": "2021-04-26T15:25:27.587Z",
            "baseAmount": 1345.89,
            "invoiceAmount": 2,
            "currencyExchangeDetailId": 7,
            "currencyExchangeDetailName": "Sample Text Data",
            "billRunHistoryId": 7,
            "billRunHistoryName": "Sample Text Data",
            "isManual": true,
            "reversePaymentId": 15,
            "reversePaymentName": "Sample Text Data",
            "createdByUserId": 19,
            "createdByUserName": "Sample Text Data",
            "paymentMethodId": 14,
            "paymentMethodName": "Sample Text Data",
            "paymentPreAuthorizeId": 4,
            "paymentPreAuthorizeName": "Sample Text Data",
            "paymentTransactionId": 23,
            "paymentTransactionName": "Sample Text Data",
            "createdByPortalUserId": 27,
            "createdByPortalUserName": "Sample Text Data",
            "paymentStatusTypeId": 13,
            "paymentStatusTypeName": "Sample Text Data",
            "retryPaymentId": 21,
            "retryPaymentName": "Sample Text Data",
            "updated": "2021-04-26T15:25:27.587Z"
        }
    ]
}
GETPayment/Paged
Retrieve all of the Payment objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the Payment objects in a paged fashion.
GET Payment/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "date": "2021-04-26T15:25:27.587Z",
                "amount": 1235.89,
                "accountId": 17,
                "accountName": "Sample Text Data",
                "disbursed": true,
                "paymentTypeId": 1,
                "paymentTypeName": "Sample Text Data",
                "detail": "Payment Recieved",
                "cardTypeId": 21,
                "cardTypeName": "Sample Text Data",
                "checkNumber": "1236-9658",
                "automaticDisburse": true,
                "created": "2021-04-26T15:25:27.587Z",
                "invoiceId": 14,
                "invoiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "baseAmount": 1345.89,
                "invoiceAmount": 22,
                "currencyExchangeDetailId": 0,
                "currencyExchangeDetailName": "Sample Text Data",
                "billRunHistoryId": 9,
                "billRunHistoryName": "Sample Text Data",
                "isManual": true,
                "reversePaymentId": 11,
                "reversePaymentName": "Sample Text Data",
                "createdByUserId": 14,
                "createdByUserName": "Sample Text Data",
                "paymentMethodId": 8,
                "paymentMethodName": "Sample Text Data",
                "paymentPreAuthorizeId": 21,
                "paymentPreAuthorizeName": "Sample Text Data",
                "paymentTransactionId": 18,
                "paymentTransactionName": "Sample Text Data",
                "createdByPortalUserId": 12,
                "createdByPortalUserName": "Sample Text Data",
                "paymentStatusTypeId": 23,
                "paymentStatusTypeName": "Sample Text Data",
                "retryPaymentId": 26,
                "retryPaymentName": "Sample Text Data",
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
GETPayment/Paged/Detail
Retrieve all of the Payment objects in a paged fashion with all object details. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
Retrieve all of the Payment objects in a paged fashion with all object details.
GET Payment/Paged/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "date": "2021-04-26T15:25:27.587Z",
                "amount": 1235.89,
                "accountId": 8,
                "accountName": "Sample Text Data",
                "disbursed": true,
                "paymentTypeId": 21,
                "paymentTypeName": "Sample Text Data",
                "detail": "Payment Recieved",
                "cardTypeId": 14,
                "cardTypeName": "Sample Text Data",
                "checkNumber": "1236-9658",
                "automaticDisburse": true,
                "created": "2021-04-26T15:25:27.587Z",
                "invoiceId": 20,
                "invoiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "baseAmount": 1345.89,
                "invoiceAmount": 1,
                "currencyExchangeDetailId": 5,
                "currencyExchangeDetailName": "Sample Text Data",
                "billRunHistoryId": 9,
                "billRunHistoryName": "Sample Text Data",
                "isManual": true,
                "reversePaymentId": 16,
                "reversePaymentName": "Sample Text Data",
                "createdByUserId": 17,
                "createdByUserName": "Sample Text Data",
                "paymentMethodId": 5,
                "paymentMethodName": "Sample Text Data",
                "paymentPreAuthorizeId": 15,
                "paymentPreAuthorizeName": "Sample Text Data",
                "paymentTransactionId": 17,
                "paymentTransactionName": "Sample Text Data",
                "createdByPortalUserId": 17,
                "createdByPortalUserName": "Sample Text Data",
                "paymentStatusTypeId": 26,
                "paymentStatusTypeName": "Sample Text Data",
                "retryPaymentId": 26,
                "retryPaymentName": "Sample Text Data",
                "updated": "2021-04-26T15:25:27.587Z",
                "details": {
                    "invoiceDisbursements": [
                        {
                            "identity": 53,
                            "invoiceId": 6,
                            "invoiceName": "Sample Text Data",
                            "paymentId": 32,
                            "amount": 31.25,
                            "baseAmount": 72.75,
                            "invoiceAmount": 1.02,
                            "automaticDisburse": true
                        }
                    ],
                    "paymentReversals": [
                        {
                            "identity": 50,
                            "date": "2021-04-26T15:25:27.587Z",
                            "amount": 98.4,
                            "accountId": 93,
                            "accountName": "Sample Text Data",
                            "disbursed": true,
                            "paymentTypeId": 34,
                            "paymentTypeName": "Sample Text Data",
                            "detail": "Sample Text Data",
                            "cardTypeId": 29,
                            "cardTypeName": "Sample Text Data",
                            "checkNumber": "Sample Text Data",
                            "automaticDisburse": true,
                            "created": "2021-04-26T15:25:27.587Z",
                            "invoiceId": 80,
                            "invoiceName": "Sample Text Data",
                            "posting": "2021-04-26T15:25:27.587Z",
                            "baseAmount": 27.11,
                            "invoiceAmount": 66.62,
                            "currencyExchangeDetailId": 5,
                            "billRunHistoryId": 23,
                            "billRunHistoryName": "Sample Text Data",
                            "isManual": true,
                            "reversePaymentId": 25,
                            "createdByUserId": 29,
                            "createdByUserName": "Sample Text Data",
                            "paymentMethodId": 8,
                            "paymentMethodName": "Sample Text Data",
                            "paymentPreAuthorizeId": 42,
                            "paymentTransactionId": 69,
                            "createdByPortalUserId": 69,
                            "createdByPortalUserName": "Sample Text Data",
                            "paymentStatusTypeId": 47,
                            "paymentStatusTypeName": "Sample Text Data",
                            "retryPaymentId": 66,
                            "updated": "2021-04-26T15:25:27.587Z",
                            "merchantAccount": "Sample Text Data"
                        }
                    ]
                }
            }
        ]
    }
}
GETPayment/{id}
Retrieve an instance of the Payment object by its ID.
{id}Unique identifier for the Payment object.
Retrieve an instance of the Payment object by its ID.
GET Payment/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "date": "2021-04-26T15:25:27.587Z",
        "amount": 1235.89,
        "accountId": 16,
        "accountName": "Sample Text Data",
        "disbursed": true,
        "paymentTypeId": 16,
        "paymentTypeName": "Sample Text Data",
        "detail": "Payment Recieved",
        "cardTypeId": 6,
        "cardTypeName": "Sample Text Data",
        "checkNumber": "1236-9658",
        "automaticDisburse": true,
        "created": "2021-04-26T15:25:27.587Z",
        "invoiceId": 12,
        "invoiceName": "Sample Text Data",
        "posting": "2021-04-26T15:25:27.587Z",
        "baseAmount": 1345.89,
        "invoiceAmount": 20,
        "currencyExchangeDetailId": 1,
        "currencyExchangeDetailName": "Sample Text Data",
        "billRunHistoryId": 13,
        "billRunHistoryName": "Sample Text Data",
        "isManual": true,
        "reversePaymentId": 0,
        "reversePaymentName": "Sample Text Data",
        "createdByUserId": 2,
        "createdByUserName": "Sample Text Data",
        "paymentMethodId": 18,
        "paymentMethodName": "Sample Text Data",
        "paymentPreAuthorizeId": 10,
        "paymentPreAuthorizeName": "Sample Text Data",
        "paymentTransactionId": 13,
        "paymentTransactionName": "Sample Text Data",
        "createdByPortalUserId": 23,
        "createdByPortalUserName": "Sample Text Data",
        "paymentStatusTypeId": 16,
        "paymentStatusTypeName": "Sample Text Data",
        "retryPaymentId": 24,
        "retryPaymentName": "Sample Text Data",
        "updated": "2021-04-26T15:25:27.587Z"
    }
}
GETPayment/{id}/Detail
Retrieve deep detail of the Payment object by its ID. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
{id}Unique identifier for the Payment object.
Retrieve deep detail of the Payment object by its ID.
GET Payment/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "date": "2021-04-26T15:25:27.587Z",
        "amount": 1235.89,
        "accountId": 26,
        "accountName": "Sample Text Data",
        "disbursed": true,
        "paymentTypeId": 1,
        "paymentTypeName": "Sample Text Data",
        "detail": "Payment Recieved",
        "cardTypeId": 9,
        "cardTypeName": "Sample Text Data",
        "checkNumber": "1236-9658",
        "automaticDisburse": true,
        "created": "2021-04-26T15:25:27.587Z",
        "invoiceId": 22,
        "invoiceName": "Sample Text Data",
        "posting": "2021-04-26T15:25:27.587Z",
        "baseAmount": 1345.89,
        "invoiceAmount": 16,
        "currencyExchangeDetailId": 13,
        "currencyExchangeDetailName": "Sample Text Data",
        "billRunHistoryId": 9,
        "billRunHistoryName": "Sample Text Data",
        "isManual": true,
        "reversePaymentId": 13,
        "reversePaymentName": "Sample Text Data",
        "createdByUserId": 22,
        "createdByUserName": "Sample Text Data",
        "paymentMethodId": 18,
        "paymentMethodName": "Sample Text Data",
        "paymentPreAuthorizeId": 25,
        "paymentPreAuthorizeName": "Sample Text Data",
        "paymentTransactionId": 19,
        "paymentTransactionName": "Sample Text Data",
        "createdByPortalUserId": 13,
        "createdByPortalUserName": "Sample Text Data",
        "paymentStatusTypeId": 13,
        "paymentStatusTypeName": "Sample Text Data",
        "retryPaymentId": 27,
        "retryPaymentName": "Sample Text Data",
        "updated": "2021-04-26T15:25:27.587Z",
        "details": {
            "invoiceDisbursements": [
                {
                    "identity": 53,
                    "invoiceId": 6,
                    "invoiceName": "Sample Text Data",
                    "paymentId": 32,
                    "amount": 31.25,
                    "baseAmount": 72.75,
                    "invoiceAmount": 1.02,
                    "automaticDisburse": true
                }
            ],
            "paymentReversals": [
                {
                    "identity": 50,
                    "date": "2021-04-26T15:25:27.587Z",
                    "amount": 98.4,
                    "accountId": 93,
                    "accountName": "Sample Text Data",
                    "disbursed": true,
                    "paymentTypeId": 34,
                    "paymentTypeName": "Sample Text Data",
                    "detail": "Sample Text Data",
                    "cardTypeId": 29,
                    "cardTypeName": "Sample Text Data",
                    "checkNumber": "Sample Text Data",
                    "automaticDisburse": true,
                    "created": "2021-04-26T15:25:27.587Z",
                    "invoiceId": 80,
                    "invoiceName": "Sample Text Data",
                    "posting": "2021-04-26T15:25:27.587Z",
                    "baseAmount": 27.11,
                    "invoiceAmount": 66.62,
                    "currencyExchangeDetailId": 5,
                    "billRunHistoryId": 23,
                    "billRunHistoryName": "Sample Text Data",
                    "isManual": true,
                    "reversePaymentId": 25,
                    "createdByUserId": 29,
                    "createdByUserName": "Sample Text Data",
                    "paymentMethodId": 8,
                    "paymentMethodName": "Sample Text Data",
                    "paymentPreAuthorizeId": 42,
                    "paymentTransactionId": 69,
                    "createdByPortalUserId": 69,
                    "createdByPortalUserName": "Sample Text Data",
                    "paymentStatusTypeId": 47,
                    "paymentStatusTypeName": "Sample Text Data",
                    "retryPaymentId": 66,
                    "updated": "2021-04-26T15:25:27.587Z",
                    "merchantAccount": "Sample Text Data"
                }
            ]
        }
    }
}
PATCHPayment/{id}
Update or Add the Payment object and optionally make changes to any child objects. Patch end points allow for adding/updating multiple related entities and the results of those changes will be reported in the response JSON payload in the items array.
{id}Unique identifier for the Payment object.
Update or Add the Payment object and optionally make changes to any child objects.
PATCH Payment/{id}

{
    "details": {},
    "payments": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "date": "2021-04-26T15:25:27.587Z",
                "amount": 1235.89,
                "accountId": 9,
                "disbursed": true,
                "paymentTypeId": 5,
                "detail": "Payment Recieved",
                "cardTypeId": 23,
                "checkNumber": "1236-9658",
                "automaticDisburse": true,
                "invoiceId": 14,
                "posting": "2021-04-26T15:25:27.587Z",
                "baseAmount": 1345.89,
                "invoiceAmount": 11,
                "currencyExchangeDetailId": 16,
                "billRunHistoryId": 7,
                "isManual": true,
                "reversePaymentId": 7,
                "createdByUserId": 11,
                "paymentMethodId": 9,
                "paymentPreAuthorizeId": 8,
                "paymentTransactionId": 15,
                "createdByPortalUserId": 6,
                "paymentStatusTypeId": 6,
                "retryPaymentId": 26,
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "patch",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "action": "created",
                "dtoTypeKey": "payment",
                "instance": {
                    "identity": 1,
                    "date": "2021-04-26T15:25:27.587Z",
                    "amount": 1235.89,
                    "accountId": 27,
                    "accountName": "Sample Text Data",
                    "disbursed": true,
                    "paymentTypeId": 22,
                    "paymentTypeName": "Sample Text Data",
                    "detail": "Payment Recieved",
                    "cardTypeId": 14,
                    "cardTypeName": "Sample Text Data",
                    "checkNumber": "1236-9658",
                    "automaticDisburse": true,
                    "created": "2021-04-26T15:25:27.587Z",
                    "invoiceId": 12,
                    "invoiceName": "Sample Text Data",
                    "posting": "2021-04-26T15:25:27.587Z",
                    "baseAmount": 1345.89,
                    "invoiceAmount": 22,
                    "currencyExchangeDetailId": 4,
                    "currencyExchangeDetailName": "Sample Text Data",
                    "billRunHistoryId": 19,
                    "billRunHistoryName": "Sample Text Data",
                    "isManual": true,
                    "reversePaymentId": 4,
                    "reversePaymentName": "Sample Text Data",
                    "createdByUserId": 0,
                    "createdByUserName": "Sample Text Data",
                    "paymentMethodId": 6,
                    "paymentMethodName": "Sample Text Data",
                    "paymentPreAuthorizeId": 19,
                    "paymentPreAuthorizeName": "Sample Text Data",
                    "paymentTransactionId": 24,
                    "paymentTransactionName": "Sample Text Data",
                    "createdByPortalUserId": 8,
                    "createdByPortalUserName": "Sample Text Data",
                    "paymentStatusTypeId": 15,
                    "paymentStatusTypeName": "Sample Text Data",
                    "retryPaymentId": 8,
                    "retryPaymentName": "Sample Text Data",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            }
        ]
    }
}
POSTPayment/
Create a new instance of the Payment object.
Create a new instance of the Payment object.
POST Payment/

{
    "date": "2021-04-26T15:25:27.587Z",
    "amount": 1235.89,
    "accountId": 24,
    "disbursed": true,
    "paymentTypeId": 15,
    "detail": "Payment Recieved",
    "cardTypeId": 9,
    "checkNumber": "1236-9658",
    "automaticDisburse": true,
    "invoiceId": 0,
    "posting": "2021-04-26T15:25:27.587Z",
    "baseAmount": 1345.89,
    "invoiceAmount": 18,
    "currencyExchangeDetailId": 24,
    "billRunHistoryId": 7,
    "isManual": true,
    "reversePaymentId": 17,
    "createdByUserId": 24,
    "paymentMethodId": 5,
    "paymentPreAuthorizeId": 26,
    "paymentTransactionId": 17,
    "createdByPortalUserId": 18,
    "paymentStatusTypeId": 22,
    "retryPaymentId": 23,
    "updated": "2021-04-26T15:25:27.587Z"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "date": "2021-04-26T15:25:27.587Z",
                "amount": 1235.89,
                "accountId": 16,
                "accountName": "Sample Text Data",
                "disbursed": true,
                "paymentTypeId": 0,
                "paymentTypeName": "Sample Text Data",
                "detail": "Payment Recieved",
                "cardTypeId": 10,
                "cardTypeName": "Sample Text Data",
                "checkNumber": "1236-9658",
                "automaticDisburse": true,
                "created": "2021-04-26T15:25:27.587Z",
                "invoiceId": 21,
                "invoiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "baseAmount": 1345.89,
                "invoiceAmount": 27,
                "currencyExchangeDetailId": 5,
                "currencyExchangeDetailName": "Sample Text Data",
                "billRunHistoryId": 22,
                "billRunHistoryName": "Sample Text Data",
                "isManual": true,
                "reversePaymentId": 10,
                "reversePaymentName": "Sample Text Data",
                "createdByUserId": 10,
                "createdByUserName": "Sample Text Data",
                "paymentMethodId": 12,
                "paymentMethodName": "Sample Text Data",
                "paymentPreAuthorizeId": 22,
                "paymentPreAuthorizeName": "Sample Text Data",
                "paymentTransactionId": 4,
                "paymentTransactionName": "Sample Text Data",
                "createdByPortalUserId": 26,
                "createdByPortalUserName": "Sample Text Data",
                "paymentStatusTypeId": 5,
                "paymentStatusTypeName": "Sample Text Data",
                "retryPaymentId": 12,
                "retryPaymentName": "Sample Text Data",
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
POSTPayment/Reverse
Reverse an existing Payment. Payment details provided in body of POST request.
POSTPayment/Reverse/Vendor
Reverse an existing Payment. Payment details provided in body of POST request.
POSTPayment/Vendor
Create a Payment to be processed by a specified Payment gateway vendor. Payment details provided in body of POST request.
PUTPayment/{id}
Update an existing instance of the Payment object.
Update an existing instance of the Payment object.
PUT Payment/{id}

{
    "identity": 1,
    "date": "2021-04-26T15:25:27.587Z",
    "amount": 1235.89,
    "accountId": 0,
    "disbursed": true,
    "paymentTypeId": 16,
    "detail": "Payment Recieved",
    "cardTypeId": 11,
    "checkNumber": "1236-9658",
    "automaticDisburse": true,
    "invoiceId": 27,
    "posting": "2021-04-26T15:25:27.587Z",
    "baseAmount": 1345.89,
    "invoiceAmount": 25,
    "currencyExchangeDetailId": 24,
    "billRunHistoryId": 4,
    "isManual": true,
    "reversePaymentId": 14,
    "createdByUserId": 11,
    "paymentMethodId": 1,
    "paymentPreAuthorizeId": 10,
    "paymentTransactionId": 9,
    "createdByPortalUserId": 5,
    "paymentStatusTypeId": 21,
    "retryPaymentId": 10,
    "updated": "2021-04-26T15:25:27.587Z"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "date": "2021-04-26T15:25:27.587Z",
                "amount": 1235.89,
                "accountId": 14,
                "accountName": "Sample Text Data",
                "disbursed": true,
                "paymentTypeId": 25,
                "paymentTypeName": "Sample Text Data",
                "detail": "Payment Recieved",
                "cardTypeId": 10,
                "cardTypeName": "Sample Text Data",
                "checkNumber": "1236-9658",
                "automaticDisburse": true,
                "created": "2021-04-26T15:25:27.587Z",
                "invoiceId": 11,
                "invoiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "baseAmount": 1345.89,
                "invoiceAmount": 9,
                "currencyExchangeDetailId": 7,
                "currencyExchangeDetailName": "Sample Text Data",
                "billRunHistoryId": 26,
                "billRunHistoryName": "Sample Text Data",
                "isManual": true,
                "reversePaymentId": 0,
                "reversePaymentName": "Sample Text Data",
                "createdByUserId": 6,
                "createdByUserName": "Sample Text Data",
                "paymentMethodId": 3,
                "paymentMethodName": "Sample Text Data",
                "paymentPreAuthorizeId": 3,
                "paymentPreAuthorizeName": "Sample Text Data",
                "paymentTransactionId": 23,
                "paymentTransactionName": "Sample Text Data",
                "createdByPortalUserId": 21,
                "createdByPortalUserName": "Sample Text Data",
                "paymentStatusTypeId": 26,
                "paymentStatusTypeName": "Sample Text Data",
                "retryPaymentId": 4,
                "retryPaymentName": "Sample Text Data",
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}