Authorization
Unique identifier for the subaccount wallet id. Used to retrieve consent details for a specific subaccount.
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.