Create consent requests with individual consent handles per FIP for granular tracking and management of multi-FIP consent scenarios.
| Header | Type | Required | Description |
|---|---|---|---|
client_id | string | Yes | Your unique client identifier provided by MoneyOne during FIU onboarding. This credential identifies your organization in the FinPro system. |
client_secret | string | Yes | Your confidential client secret provided by MoneyOne. This must be kept secure and never exposed in client-side code or public repositories. |
organisationId | string | Yes | Your organization’s unique identifier in the FinPro system. This is assigned during onboarding and links all API calls to your FIU entity. |
appIdentifier | string | Yes | Application-specific identifier that helps track which application or service within your organization is making the API call. Useful for multi-application FIU setups. |
| Parameter | Type | Required | Description |
|---|---|---|---|
productID | string | Yes | The unique identifier of the consent template configured in the FinPro admin portal. This template defines the purpose code, consent validity, FI types, fetch frequency, and other consent parameters that will govern the data sharing relationship. |
vua | string | Yes | The customer’s Virtual User Address (VUA) in the format mobile@onemoney or email@onemoney. This is the unique identifier used by Account Aggregators to identify the customer across the AA ecosystem. |
partyIdentifierType | string | Yes | The type of identifier being provided for the customer. Valid values are MOBILE, EMAIL, or PAN. This should match the format of the partyIdentifierValue field. |
partyIdentifierValue | string | Yes | The actual identifier value for the customer. For MOBILE type, this should be a 10-digit Indian mobile number without country code. For EMAIL, provide the email address. For PAN, provide the 10-character PAN number. |
accountID | string | Yes | A unique identifier from your system that links this consent request to a specific customer interaction, loan application, or transaction in your backend. This helps you correlate consent lifecycle events with your internal workflows. Use alphanumeric values to ensure compatibility. |
pan | string | No | The customer’s Permanent Account Number (PAN). Required for certain consent types and helps in identity verification across the AA ecosystem. Must be a valid 10-character Indian PAN format. |
fipID | array of strings | No | An array of Financial Information Provider identifiers for which separate consent handles will be created. Each FIP in this array will get its own consent handle in the response. If not provided, the customer can discover and link accounts from all available FIPs, but will receive a single consent handle (similar to V3 behavior). |
redirectUrl | string | No | The URL where the customer should be redirected after completing the consent journey in the AA interface. This should be a valid HTTPS URL that can handle the callback with consent status information. If not provided, the default redirect URL configured in your FinPro portal will be used. |
fipID array. Each FIP will receive its own consent handle, enabling independent tracking.successList (FIPs for which consent handles were created successfully) and optionally a failure list (FIPs that encountered errors during handle creation).status field indicates whether the overall request was processed successfully. Individual FIP success/failure is tracked within the response data structure.partyIdentifierValue. Mobile numbers must be exactly 10 digits, and any format violation will cause the entire request to fail.| Field | Type | Description |
|---|---|---|
status | string | Overall API call status. Will be success when the request was processed successfully. |
ver | string | The version of the FinPro API that processed this request. Useful for debugging and version tracking. |
data.status | string | The initial status of the consent requests. Will be PENDING when first created, indicating the customer has not yet approved or rejected the consents. |
data.successList | object | Contains the list of successfully created consent handles organized by FIP. |
data.successList.consent_handles | array | An array of objects, each containing a consent handle ID and its associated FIP ID. Each object represents a distinct consent that will be tracked independently. |
data.successList.consent_handles[].consent_handle_id | string | A unique UUID that identifies the consent request for this specific FIP throughout its lifecycle. Store this value to track status changes per FIP. |
data.successList.consent_handles[].fip_id | string | The Financial Information Provider identifier for which this consent handle was created. Matches one of the FIP IDs from your request. |
| Field | Type | Description |
|---|---|---|
ver | string | The version of the FinPro API that processed this request. |
timestamp | string | ISO 8601 formatted timestamp indicating when the error occurred. This helps with debugging and correlating errors with logs. |
errorCode | string | A human-readable error code indicating the category of error. Common values include InvalidRequest, InvalidStatus, AuthenticationFailed, etc. |
errorMsg | string | A detailed error message explaining what went wrong. This provides specific information about which field or validation rule caused the failure. |
| Error Code | Status Code | Description | Resolution |
|---|---|---|---|
InvalidRequest | 400 | The request body contains invalid data or missing required fields. | Verify that all required fields are present and correctly formatted. Check that the productID exists in your portal configuration. |
InvalidProductID | 400 | The specified productID does not exist or is not configured for your organization. | Log into the FinPro admin portal and verify that the product/consent template exists and is active. |
InvalidPartyIdentifier | 400 | The partyIdentifierValue does not match the format expected by partyIdentifierType. | For MOBILE type, ensure the value is a 10-digit number without country code or special characters. For PAN, ensure it follows the standard format (5 letters, 4 digits, 1 letter). |
InvalidFIPID | 400 | One or more FIP identifiers in the fipID array are not recognized or not available. | Verify the FIP IDs against the list of available FIPs in your FinPro portal. FIP IDs are case-sensitive and must match exactly. |
AuthenticationFailed | 401 | The provided credentials (client_id, client_secret, organisationId) are invalid or expired. | Verify your credentials in the FinPro admin portal. Ensure you’re using the correct credentials for the environment (UAT vs Production). |
failureList, log these errors and consider whether to retry with corrected FIP IDs or proceed with successful consents only.
webRedirectionUrl for automatic customer redirect. Single consent handle covers all FIPs. Good for simple multi-FIP scenarios.