API integration
You can make API calls to PayorCRM using the API endpoint .To be able to do that you will need to first get your account's API Secret and API key Values.You can find these in the settings screen as shown below

Copy the above credentials to make API calls with PayorCRM endpoints
Authorization
Use obtained API Key and API Secret in header as api_key and api_secret.
For Example:
API Endpoints
1. Uploading Invoices List
Send a json post request to /jsonApi/upload/invoices. See below for attributes you can use.
For invoice available attributes are
An example Invoice payload body would be
2. Uploading Customers List
To upload customers list use endpoint /jsonApi/upload/customers and send post request containing array of Customers
For Example
Attributes for customer object.
An example Customer payload body would be
Please note that before uploading an invoice you make sure the customer already exists so that we can link that invoice to that customer. We use customerNumber field to link those invoices.
Last updated
Was this helpful?