Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.19 KB

File metadata and controls

45 lines (33 loc) · 1.19 KB

BENEFICIARIES

We recommend reading the main README first to understand the requirements for using the library and how to integrate it into your application. This guide assumes you've read that.

Create a beneficiary

This describes how to create a transfer beneficiary.

Response flwResponse = new Beneficiaries()
        .runCreateBeneficiary(new BeneficiaryRequest("0690000034",
            "044",
            "Ade Bond",
            Optional.empty(),
            Optional.empty()));

List all Transfer Beneficiaries

This describes how to list all transfer beneficiaries.

ListResponse flwResponse = new Beneficiaries()
        .runGetAllBeneficiaries(Optional.page);

Fetch a Transfer Beneficiary

This describes how to fetch a transfer beneficiary.

Response flwResponse = new Beneficiaries()
        .runGetBeneficiary(Optional.id);

Delete a Transfer Beneficiary

This describes how to delete a transfer beneficiary.

Response flwResponse = new Beneficiaries()
        .runDeleteBeneficiary(Optional.id);