DepositControllerV2
Deposits
post/v2/accounting/deposits
Request
- Base URLhttps://api.railz.ai
- AuthHTTP bearer
Request body
Example request
{
"connectionUuid": "CON-396d5daa-26b2-4979-89b6-cafb2c298155",
"data": {
"memo": "Example memo.",
"currency": "CAD",
"customerRef": {
"id": "124"
},
"postedDate": "2021-03-29",
"bankAccountRef": {
"id": "200"
},
"lines": [
{
"description": "Services rendered.",
"accountRef": {
"id": "200"
},
"taxRateRef": {
"id": "12"
},
"entityRef": {
"id": "1",
"type": "vendor"
},
"links": [
{
"id": "560"
}
],
"trackingCategoryRefs": [
{
"id": "4040"
}
]
}
],
"passThrough": {
"CustomField": [
{
"DefinitionId": "1",
"StringValue": "my custom value",
"Name": "Field One"
}
]
}
}
}Response
Example response
{
"connectionUuid": "CON-396d5daa-26b2-4979-89b6-cafb2c298155",
"businessName": "Railz",
"serviceName": "xero",
"pushCommunicationId": "60473b57f0cdd1683ca71f60",
"requestedOn": "2021-03-09T08:15:22.035Z",
"status": "pending",
"data": {
"memo": "Example memo.",
"currency": "CAD",
"customerRef": {
"id": "124"
},
"postedDate": "2021-03-29",
"bankAccountRef": {
"id": "200"
},
"lines": [
{
"description": "Services rendered.",
"accountRef": {
"id": "200"
},
"taxRateRef": {
"id": "12"
},
"entityRef": {
"id": "1",
"type": "vendor"
},
"links": [
{
"id": "560"
}
],
"trackingCategoryRefs": [
{
"id": "4040"
}
]
}
],
"passThrough": {
"CustomField": [
{
"DefinitionId": "1",
"StringValue": "my custom value",
"Name": "Field One"
}
]
}
}
}Changes
- info
api tag
DepositControllerV2added
- info
- info
endpoint added
- info