Merge · Schema
Payment
# The Payment Object ### Description The `Payment` object represents general payments made towards a specific transaction. ### Usage Example Fetch from the `GET Payment` endpoint and view an invoice's payment.
IntegrationsPlatformUnified APIAgent HandlerLLM Gateway
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| remote_id | stringnull | The third-party API ID of the matching object. |
| created_at | string | The datetime that this object was created by Merge. |
| modified_at | string | The datetime that this object was modified by Merge. |
| transaction_date | stringnull | The payment's transaction date. |
| contact | stringnull | The supplier, or customer involved in the payment. |
| account | stringnull | The supplier’s or customer’s account in which the payment is made. |
| payment_method | stringnull | The method which this payment was made by. |
| currency | object | The payment's currency. The currency code in ISO 4217 format. |
| exchange_rate | stringnull | The payment's exchange rate. |
| company | stringnull | The company the payment belongs to. |
| total_amount | numbernull | The total amount of money being paid to the supplier, or customer, after taxes. |
| type | object | The type of the invoice. |
| tracking_categories | array | |
| accounting_period | stringnull | The accounting period that the Payment was generated in. |
| applied_to_lines | array | A list of “Payment Applied to Lines” objects. |
| remote_updated_at | stringnull | When the third party's payment entry was updated. |
| remote_was_deleted | boolean | Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited cove |
| field_mappings | object | |
| remote_data | arraynull | |
| remote_fields | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Payment",
"title": "Payment",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"remote_id": {
"type": [
"string",
"null"
],
"description": "The third-party API ID of the matching object."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "The datetime that this object was created by Merge."
},
"modified_at": {
"type": "string",
"format": "date-time",
"description": "The datetime that this object was modified by Merge."
},
"transaction_date": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "The payment's transaction date."
},
"contact": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "The supplier, or customer involved in the payment."
},
"account": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "The supplier\u2019s or customer\u2019s account in which the payment is made."
},
"payment_method": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "The method which this payment was made by."
},
"currency": {
"oneOf": [
{
"$ref": "#/components/schemas/TransactionCurrencyEnum"
},
{
"type": "null"
}
],
"description": "The payment's currency. The currency code in ISO 4217 format."
},
"exchange_rate": {
"type": [
"string",
"null"
],
"format": "decimal",
"description": "The payment's exchange rate."
},
"company": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "The company the payment belongs to."
},
"total_amount": {
"type": [
"number",
"null"
],
"format": "double",
"description": "The total amount of money being paid to the supplier, or customer, after taxes."
},
"type": {
"oneOf": [
{
"$ref": "#/components/schemas/PaymentTypeEnum"
},
{
"type": "null"
}
],
"description": "The type of the invoice."
},
"tracking_categories": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"accounting_period": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "The accounting period that the Payment was generated in."
},
"applied_to_lines": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PaymentLineItem"
},
"description": "A list of \u201cPayment Applied to Lines\u201d objects."
},
"remote_updated_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the third party's payment entry was updated."
},
"remote_was_deleted": {
"type": "boolean",
"description": "Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/)."
},
"field_mappings": {
"oneOf": [
{
"$ref": "#/components/schemas/PaymentFieldMappings"
},
{
"type": "null"
}
]
},
"remote_data": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/RemoteData"
}
},
"remote_fields": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RemoteField"
}
}
},
"description": "# The Payment Object\n### Description\nThe `Payment` object represents general payments made towards a specific transaction.\n\n### Usage Example\nFetch from the `GET Payment` endpoint and view an invoice's payment."
}