# 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 %}
