Forum Discussion

deniscorlotean's avatar
4 years ago

SpendMoneyTxn endpoint - Is it possible to send multiple transactions as a batch ?

Hi,  SpendMoneyTax works fine if I post 1 single transaction, how can I post multiple transactions in one go ? payload is of object type and wont accept an array. Or Ill have to make a separate call for each transaction?? what if I have hundreds? what about my token ? pls help :) 

  • Han-Solo's avatar
    Han-Solo
    MYOB Moderator

    Hi deniscorlotean,

     

    Thanks for reaching out, Currently batch payments are not supported via the API, These would need to be single requests. Please also note that the default rate for the API is key is 8 calls per second which you will also need to factor in. 

     

    We can use the refresh token in order to refresh the access token so this does not expire - https://apisupport.myob.com/hc/en-us/articles/360000477416

     

    You can also create a support request with the API team HERE.

    • What if we purchase the Developer Partner or Premier Developer Partner plan? will that open up the door to make batch calls? and if not are you guys planning on adding this option in the future and if so , when?  This is kinda of a big deal for us.. Say we want to post hundreds/thousands of transactions at once, its crazy having to separately send them one by one