API queries

Hi guys,
just trying out your API a bit more to import transactions form Stripe. It’s working grand but, I was just wondering, is there a way of adding a reference or other field to an invoice in addition to those mentioned in the API doc (I tried adding a “reference”: field and, while it didn’t complain, it didn’t show up on the invoice in the system either).
Also, is there any way of adding multiple invoices, payments etc. in the same cURL request? I’m currently creating all my invoice requests in individual JSON files and then doing a FOR files IN etc DO CURL etc. in a script.
Thanks for a great system!
Michael

  1. Peter Connor May 6, 2015
    Hi M,

    I'll get you an answer for this asap.

    Pete

1 answer

Louise Miller Staff May 6, 2015
Public

Hi Michael
Unfortunately you cant add a reference when creating an invoice to the api. We’ll add this to our list of improvements we need to make to the API. 
For your second question – you can create a single payment for multiple invoices in one cURL request ( you can provide multiple invoice ids in the json ) but you cant create multiple invoices or multiple payments in one request yet.
Cheers
Louise
 

#answer-1582
  1. MichaelT May 6, 2015
    Thanks for that Louise,
    Looking forward to updates! The more I can automate the better!
    Do you have a roadmap for API changes?
    Thanks and regards,
    Michael

Please login or Register to Submit Answer