> For the complete documentation index, see [llms.txt](https://payfric.gitbook.io/payfric-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://payfric.gitbook.io/payfric-api-docs/transfer-money.md).

# Transfer Money

This section describe how to transfer money from your Payfric to another Payfric account right from your own application

## Send a Get request&#x20;

<mark style="color:blue;">`GET`</mark> `https://payfric.com/wp-json/payfric/v1/transfer`

This endpoint allows you to transfer from your payfric account to other payfric account

#### Path Parameters

| Name        | Type   | Description                      |
| ----------- | ------ | -------------------------------- |
| secret\_key | string | Your payfric secrete key         |
| amount      | number | Amount to transfer               |
| s\_email    | string | Sender's payfric email address   |
| r\_email    | string | receiver's payfric email address |

{% tabs %}
{% tab title="200 Payment successful. Notice the error flag is 0." %}

```javascript
{
    'error': 0,
    'message': 'Payment successful'
}
```

{% endtab %}

{% tab title="404 Payment not successful. Notice the error flag is 1" %}

```javascript
{
     'error': 1,
     'message': 'Payment not successful'
}
```

{% endtab %}
{% endtabs %}
