Skip to main content
GET
/
api
/
v1
/
direct-debit
/
subaccount
/
consent
/
{accountWalletId}
curl --location --request GET 'https://api.recital.finance/api/v1/direct-debit/subaccount/consent/{accountWalletId}?status=active' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api-key>' \

{
    "success": true,
    "message": "Fetched successfully",
    "data": [
        {
            "reference": "bpkffdfdsdasbf0",
            "mandateStatus": "active",
            "metaData": "{\"last4\":\"1334\",\"bank\":\"Sterling Bank\",\"expMonth\":5,\"expYear\":2035,\"countryCode\":\"NG\",\"accountName\":\"JOHN DOE\"}",
            "email": "e@x.com",
            "reusable": "true"
        }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.recital.finance/llms.txt

Use this file to discover all available pages before exploring further.

Authorization

Authorization
string
required
API Key
accountWalletId
string
required
Unique identifier for the subaccount wallet id. Used to retrieve consent details for a specific subaccount.
status
string
required
Status of the consent. Possible values: active, inactive, created, initiated.
curl --location --request GET 'https://api.recital.finance/api/v1/direct-debit/subaccount/consent/{accountWalletId}?status=active' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api-key>' \

{
    "success": true,
    "message": "Fetched successfully",
    "data": [
        {
            "reference": "bpkffdfdsdasbf0",
            "mandateStatus": "active",
            "metaData": "{\"last4\":\"1334\",\"bank\":\"Sterling Bank\",\"expMonth\":5,\"expYear\":2035,\"countryCode\":\"NG\",\"accountName\":\"JOHN DOE\"}",
            "email": "e@x.com",
            "reusable": "true"
        }
    ]
  }
}

Notes

  • The returned reusable indicate the mandate can be used for recurring charge.