For developers

Tekomata API

Read a photo or PDF into data with the AI model of your choice, in a standard form, with the page and the place on the document where each value was read; write blog posts with AI, and hear when each is done by webhook. Read the balance and top it up by bank transfer. Paid from the shop's Tekomata credit — try it below with your integration's access token.

5. Topping up the balance

A bank transfer, checked by Tekomata, reported by webhook.

Permissions: billing:readbilling:topup

  1. 1
    Your systemGET /v1/billing/balance

    The shop's balance in rupiah, whether it is enough for one AI call, and its plan.

  2. 2
    Your systemPOST /v1/billing/top-ups

    Send "amount" (Rp 10.000 to Rp 50.000.000). The response is a request with status awaiting_transfer, with the destination account and a reference code.

  3. 3
    Your system

    Transfer exactly that amount to that account, with the reference code in the transfer note.

  4. 4
    Your systemPOST /v1/billing/top-ups/{id}/transferred

    Report that the transfer has been sent. The status becomes pending.

  5. 5
    Tekomata

    Tekomata looks for the transfer at the bank. Approved: the balance goes up and webhook top_up.approved. Rejected: top_up.rejected with the reason.

  • At most 3 open requests at once. One not yet reported can be cancelled: POST /v1/billing/top-ups/{id}/cancel.
  • Buying a plan still happens on the shop's screen.