Merchant Fee Charge
Payouts
Merchant Fee Charge
Process a merchant fee charge by debiting a source account and crediting a target account.
POST
Merchant Fee Charge
Overview
This endpoint processes a merchant fee charge by debiting a source account and crediting a target account for the specified amount.Request
Method:POST
URL: /v1/payouts/merchant-fee-charge
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-carbon-key | Header | string | Yes | API key for authentication. |
Request Body
| 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. |
Response
Status Code:201 Created
Content-Type: application/json
Example Response
Response Fields
| 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.Error Responses
Status Code:400 Bad Request
A 400 response indicates the request was invalid — for example, missing required fields, invalid account identifiers, or an invalid amount.
Authorizations
Provide your API key in the 'apikey' header.
Headers
Body
application/json
Provide the required values for the request body.
Amount in Naira. Must be a positive value.
Example:
10
Source account number to be debited.
Example:
"0340899287"
Target account number to be credited.
Example:
"6009490194"
Optional narration/description for the fee charge.
Example:
"Fee Charge of N100"
Response
Created
The response is of type object.