API Documentation

TransactionsAdd Transaction

Method: /transactions.[format]
Syntax:
https://[subdomain].salesbinder.com/api/2.0/transactions.json
HTTP Request Type: POST
Example JSON Data to Submit
{
    "transaction": {
        "document_id": "5a1c90cc-f7c4-4698-b60e-065d17fdd567",
        "amount": 50.00,
        "reference": "Cash",
        "transaction_date": "2017-11-27"
    }
}
Example XML Data to Submit
<transaction>
  <document_id>5a1c90cc-f7c4-4698-b60e-065d17fdd567</document_id>
  <amount>50</amount>
  <reference>Cash</reference>
  <transaction_date>2017-11-27</transaction_date>
</transaction>
Success:

If you have been successful in saving a new transaction, the response will return the newly created data object along with a “message” value of “Saved” as seen below.

Example JSON Returned Response
{
    "message": "Saved",
    "transaction": {
        "document_id": "5a1c90cc-f7c4-4698-b60e-065d17fdd567",
        "amount": 50,
        "reference": "Credit Card 9008",
        "transaction_date": "2017-11-27T00:00:00+00:00",
        "account_id": "4d76bc2e-b198-4bd6-95f5-7439b86a4567",
        "created": "2017-11-27T22:27:14+00:00",
        "modified": "2017-11-27T22:27:14+00:00",
        "id": "75f31989-598b-43da-830d-292767bda9f1"
    }
}

Updated on November 27th, 2017

Network Status:
100% Global Availability