Jump to content

Colin

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Colin's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Colin

    Record Payment via API?

    Thank you Paul ?. I didn't read the source properly and was using 'vars[transaction_id]' instead of 'transaction_id'. Still looking for a way to send the client an email after applying a transaction as a receipt, as well as and email once an invoice has been paid in full by an applied transaction.
  2. Colin

    Record Payment via API?

    Thank you Paul. Couple of follow up questions if you don't mind. 1. I've looked at this process (add > apply) and can't see a way to trigger a receipt (or invoice paid) email for the client once the transaction is added/applied. Is this possible? 2. Also I'm a little lost as to how I format the invoice array ($vars) for the apply transaction? Thanks again.
  3. Hi, new to Blesta. How do I go about replicating the 'Record Payment' process for an invoice via API calls?
  4. Ah. I see. Thank you for clarifying that.
  5. I'm trying to find a way to retrieve the client_id of a client via the API using only the clients id_value/id_code (Client ID displayed in the client dashboard) as a source. Is there a way to achieve this? I'm attempting to add client transactions via the API where the client id_value, amount, and currency are the only data provided.
  6. Can the API accept a JSON encoded request body? For add/create requests?
  7. Thanks for the update Jono. That's good news. Thanks. 'get.json?invoice_id=<invoice.id>' works. ? But I see the model method ( source docs) is depreciated?
  8. Hi, I'm new to Blesta. How do I format my API query to search for a specific invoice by id? I've searched the API and source docs but couldn't find anything. e.g. I can find invoice #104028 using: curl --request GET https://mydomain.com/api/invoices/search.json?query=104028&page=1 But if invoice #104028 is referenced in another invoice's line items it will appear in the search results.
×
×
  • Create New...