---
title: "Debit amount from a sub merchant account"
method: POST
path: "/api/v1/accounts/{accountId}/debit"
tags: ["debit"]
---

# Debit amount from a sub merchant account

`POST /api/v1/accounts/{accountId}/debit`

## Request

- Base URL: `https://secure.telr.com`
- URL: `https://secure.telr.com/api/v1/accounts/{accountId}/debit`
- Auth: HTTP basic

API for debiting an amount from a specified submerchant account by Main merchant.

## Path parameters

- `accountId` integer, required

## Request body

- object
  - `amount` number, float, required
  - `notes` string

## Response `201`

OK.

- Account
  - `credit` object
    - `accountId` integer
    - `balance` number, float
  - `debit` object
    - `accountId` integer
    - `balance` number, float

## Other responses

- `403`: Forbidden.
- `404`: Not found.
- `500`: Internal server error.

---

[API](https://skmtc.dev/telr/apis/submerchant-debit-api.md) - [All operations](https://skmtc.dev/telr/apis/submerchant-debit-api/llms.txt) - [OpenAPI document](https://skmtc.dev/telr/apis/submerchant-debit-api/revisions/0b94b86529b1?raw)
