> For the complete documentation index, see [llms.txt](https://docs.mybankone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mybankone.com/transactions/transactions-api/credit-customer-account.md).

# Credit Customer Account

{% hint style="warning" %}
Where the GL Code is not specified, a default code is used.
{% endhint %}

To credit a customer account you make post request by passing RetrievalReference, AccountNumber, NibssCode and other required payload in the request body to the credit endpoint.

Here is an example with complete payload on how to make this request.

```
// Live URL
http://api.mybankone.com/thirdpartyapiservice/apiservice/
CoreTransactions/Credit
```

<mark style="color:green;">`POST`</mark> `https://staging.mybankone.com/thirdpartyapiservice/apiservice/ CoreTransactions/Credit`

#### Request Body

| Name                                                 | Type   | Description                              |
| ---------------------------------------------------- | ------ | ---------------------------------------- |
| RetrievalReference<mark style="color:red;">\*</mark> | String | Initial transaction unique reference     |
| AccountNumber<mark style="color:red;">\*</mark>      | String | Account number to be credited            |
| NibssCode <mark style="color:red;">\*</mark>         | String | 6-digit institution BankOne code         |
| Amount<mark style="color:red;">\*</mark>             | String | Transaction Amount in kobo               |
| Fee                                                  | String | Fee in kobo                              |
| Narration<mark style="color:red;">\*</mark>          | String | Transaction Narration                    |
| Token<mark style="color:red;">\*</mark>              | String | Authentication Key for the request       |
| GLCode                                               | String | Identifies the GL account to be impacted |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    "IsSuccessful": true,
 "ResponseMessage": "Approved by Financial Institution",
 "ResponseCode": "00",
 "Reference": "A1612187582"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.mybankone.com/transactions/transactions-api/credit-customer-account.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
