Process a merchant fee charge by debiting a source account and crediting a target account.
POST
URL: /v1/payouts/merchant-fee-charge
| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-carbon-key | Header | string | Yes | API key for authentication. |
| Field | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | Amount in Naira. Must be a positive value. |
sourceAccountId | string | Yes | Source account number to be debited. |
targetAccountId | string | Yes | Target account number to be credited. |
description | string | No | Optional narration/description for the fee charge. |
201 Created
Content-Type: application/json
| Field | Type | Description |
|---|---|---|
status | string | Overall request status (success) |
message | string | Human-readable result message |
data.success | boolean | Whether the fee charge was processed successfully |
data.statusCode | string | Business status code (00 = success) |
data.transaction.uniqueRef | string | Unique transaction reference for reconciliation |
data.transaction.internalRef | string | Internal reference for support lookups |
data.transaction.amount | number | Amount processed (in kobo) |
data.transaction.transactionType | string | Direction of the transaction (DEBIT) |
data.transaction.accountId | string | The source account that was debited |
data.statusCode: "00" indicates a successful transaction. Use data.transaction.uniqueRef and data.transaction.internalRef for reconciliation and support.400 Bad Request
A 400 response indicates the request was invalid — for example, missing required fields, invalid account identifiers, or an invalid amount.
Provide your API key in the 'apikey' header.
Provide the required values for the request body.
Amount in Naira. Must be a positive value.
10
Source account number to be debited.
"0340899287"
Target account number to be credited.
"6009490194"
Optional narration/description for the fee charge.
"Fee Charge of N100"
Created
The response is of type object.