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"
        }
    ]
  }
}

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.