> For the complete documentation index, see [llms.txt](https://apis.seerbit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apis.seerbit.com/api-endpoints/pay-with-transfer.md).

# Pay with Transfer

Accepts payments from your customers through transfer. This method is available for Nigerian customers only

<mark style="color:blue;">`POST`</mark> `https://seerbitapi.com/api/v2/payments/initiates`

#### How it works

1. To initiate a pay with transfer, make a request to the transfer payments service with the `payments/initiates` endpoint.
2. When the request is made you are expected to get a response with a bank account number for transfer to be made.
3. Customer completes the transaction using by transferring to the generated account number.&#x20;
4. Verify the payment

{% tabs %}
{% tab title="cURL" %}

```javascript
curl --location 'https://seerbitapi.com/api/v2/payments/initiates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTION_KEY' \
--data-raw '{
    "publicKey":"YOUR_PUBLIC KEY",
    "amount":"100",
    "fullName": "Jane Doe",
    "mobileNumber": "0887522256",
    "email":"youremail@domain.com",
    "currency": "NGN",
    "country": "NG",
    "paymentReference": "dsffererer",
    "callbackUrl": "http://checkout-seerbit.surge.sh",
    "redirectUrl": "http://checkout-seerbit.surge.sh",
    "paymentType": "TRANSFER"
}'
```

{% endtab %}

{% tab title="Request" %}

```java
{
    "publicKey":"public key",
    "amount":"100",
    "fullName": "Rasaq Agbalaya",
    "mobileNumber": "08087522256",
    "email":"rasaq@gmail.com",
    "currency": "NGN",
    "country": "NG",
    "paymentReference": "dsffererer",
    "callbackUrl": "http://checkout-seerbit.surge.sh",
    "redirectUrl": "http://checkout-seerbit.surge.sh",
    "paymentType": "TRANSFER"
}
```

{% endtab %}

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

```java
{
    "status": "SUCCESS",
    "data": {
        "code": "00",
        "payments": {
            "paymentReference": "dsfr55266tyt5554y166",
            "walletName": "SEERBIT(Merchant Name)",
            "wallet": "9979878249",
            "bankName": "Providus Bank",
            "accountNumber": "9979878249"
        },
        "message": "ACCOUNT OPENED SUCCESSFULLY"
    }
}
```

{% 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://apis.seerbit.com/api-endpoints/pay-with-transfer.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.
