Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
22
vendor/kingflamez/laravelrave/docs/beneficiaries/create-beneficiary.md
vendored
Normal file
22
vendor/kingflamez/laravelrave/docs/beneficiaries/create-beneficiary.md
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
# Create a beneficiary
|
||||
|
||||
> Create a transfer beneficiary
|
||||
|
||||
```php
|
||||
<?php
|
||||
$data = [
|
||||
'account_number' => '0690000034',
|
||||
'account_bank' => '044'
|
||||
];
|
||||
|
||||
$beneficiary = Flutterwave::beneficiaries()->create($data);
|
||||
|
||||
dd($beneficiary);
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Required | Description |
|
||||
| --------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| account_number | True | The beneficiary's bank account number. When testing on staging, you can find a list of all the available test bank accounts [here](https://developer.flutterwave.com/docs/test-bank-accounts). |
|
||||
| account_bank | True | This is the beneficiary’s bank code, you can use the [List of Banks](/banks/list-banks) to retrieve a bank code. |
|
||||
13
vendor/kingflamez/laravelrave/docs/beneficiaries/delete-beneficiary.md
vendored
Normal file
13
vendor/kingflamez/laravelrave/docs/beneficiaries/delete-beneficiary.md
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Delete a beneficiary
|
||||
|
||||
> Delete a transfer beneficiary.
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
$beneficiaryId = 12596;
|
||||
|
||||
$beneficiary = Flutterwave::beneficiaries()->destroy($beneficiaryId);
|
||||
|
||||
dd($beneficiary);
|
||||
```
|
||||
13
vendor/kingflamez/laravelrave/docs/beneficiaries/fetch-beneficiary.md
vendored
Normal file
13
vendor/kingflamez/laravelrave/docs/beneficiaries/fetch-beneficiary.md
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Fetch a beneficiary
|
||||
|
||||
> Get a single transfer beneficiary details.
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
$beneficiaryId = 12596;
|
||||
|
||||
$beneficiary = Flutterwave::beneficiaries()->fetch($beneficiaryId);
|
||||
|
||||
dd($beneficiary);
|
||||
```
|
||||
24
vendor/kingflamez/laravelrave/docs/beneficiaries/list-beneficiaries.md
vendored
Normal file
24
vendor/kingflamez/laravelrave/docs/beneficiaries/list-beneficiaries.md
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
# List all beneficiaries
|
||||
|
||||
> Fetch all beneficiaries on your account.
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
$data = [
|
||||
'page' => 1
|
||||
];
|
||||
|
||||
// $data is optional
|
||||
$beneficiaries = Flutterwave::beneficiaries()->fetchAll($data);
|
||||
|
||||
dd($beneficiaries);
|
||||
```
|
||||
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Required | Description |
|
||||
| --------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| page | False | This allows you fetch from a specific page e.g. setting page to 1 fetches the first page. |
|
||||
| status | False | This allows you fetch only transfers with a specific status e.g. fetch all successful transactions. Possible values are failed, successful |
|
||||
Reference in New Issue
Block a user