# 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: 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:

```
GET https://apis.seerbit.com/api-endpoints/pay-with-transfer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
