Initiate a closed loop credit transaction involving a particular user in the system.
A. Credit
If the X-Auth-User-Id parameter is not passed as part of the header, this API will credit the recipient's wallet as per the users email/ mobile / user_id parameter defined as part of the request.
B. Transfer
If the X-Auth-User-Id is passed, this API will transfer amount from the wallet of the user defined as part of X-Auth-User-id to another wallet as per the users email / mobile / user_id parameter specified as part of the request
Response
Bad Request
| Code | Description |
| :--- | :---------- |
| resource_user_wallet_fund_amount_format_invalid | Invalid `amount` format |
| resource_user_wallet_fund_amount_max_length | `amount` must not exceed 9 digits long |
| resource_user_wallet_fund_amount_min_value | `amount` must be greater than 0 |
| resource_user_wallet_fund_amount_not_found | `amount` must not be empty or zero |
| resource_user_wallet_fund_details_format_invalid | Payment details is too long. It should be less than 512 characters |
| resource_user_wallet_fund_forwarded_for_format_invalid | Invalid forwarded_for format |
| resource_card_fund_transfer_amount_greater_than_limit | Amount is greater than limit |
| resource_card_fund_transfer_amount_greater_less_than_limit | Amount is less than minimum amount limit |
| resource_card_fund_transfer_amount_zero | Amount cannnot be zero |
| resource_card_fund_transfer_minimum_credit_limit_reached | Credit must be greater than or equal to the amount being deducted |
| resource_card_fund_transfer_purse_daily_limit_reached | Daily purse limit reached |
| resource_card_fund_transfer_purse_daily_count_limit_reached | Daily count limit reached |
| resource_card_fund_transfer_purse_weekly_limit_reached | Weekly purse limit reached |
| resource_card_fund_transfer_purse_weekly_count_limit_reached | Weekly count limit reached |
| resource_card_fund_transfer_purse_monthly_limit_reached | Monthly purse limit reached |
| resource_card_fund_transfer_purse_monthly_count_limit_reached| Monthly count limit reached |
| resource_card_fund_transfer_purse_annual_count_limit_reached | Annual count limit reached |
| resource_card_fund_transfer_purse_lifetime_count_limit_reached | Lifetime count limit reached |
| resource_card_fund_transfer_purse_unit_transactional_limit_reached | Unit transactional limit reached |
| user_not_found | User not found or does not exist |
| user_parameter_validation_failed_1 | Field required not met; Invalid `amount` format |
| user_parameter_validation_failed_2 | Field required not met; `amount` must not be empty or zero |
| user_parameter_validation_failed_3 | Field required not met; Invalid dialing country code format |
| user_parameter_validation_failed_4 | Field required not met; Payment details is too long. It should be less than 512 characters |
| user_parameter_validation_failed_5 | Field required not met; Invalid `allow_split_category_transaction` or `amount` |
| user_parameter_validation_failed_6 | Field required not met; Invalid `allow_split_category_transaction` or `rule` |
| user_parameter_validation_failed_7 | Field required not met; Invalid `fund_category_name` or `allow_split_category_transaction` |
| user_parameter_validation_failed_8 | Field required not met; Invalid details format |
| user_parameter_validation_failed_9 | Field required not met; Invalid forwarded_for format |
| user_parameter_validation_failed_10 | Field required not met; Invalid `allow_split_category_transaction`. Only boolen value is allowed |
| resource_user_wallet_fund_require_receiver_criteria | Provide a parameter to identify receiver |
| resource_user_wallet_fund_mobile_insufficient_dependency | Both `mobile_country_code` and `mobile` must be specified |
| resource_user_wallet_fund_no_wallet | A wallet resource is missing |
| resource_consumer_details_topup_limit_exceeded | Customer topup limit exceeded |
| resource_user_direct_card_load_not_allowed | Direct card load is only allowed for inhouse balance products |
Response Attributes
descriptionstring Required
Response Attributes
descriptionstring Required
Forbidden
| Code | Description |
| :--- | :---------- |
| restricted_resource | Access with method `POST` denied |
| resource_user_lockout | User currently has a pending transaction |
| restricted_load_unload_for_shared_balance | There is restriction to load / unload card for shared balance. |
|risk_management_engine_error | An exception occurred during the processing of the risk and compliance of the user. |
| user_blocked_risk_threshold_exceeded | User have exceeded the risk and compliance threshold and was automatically blocked. |
| receiver_blocked_risk_threshold_exceeded | Receiver have exceeded the risk and compliance threshold and was automatically blocked. |
Response Attributes
descriptionstring Required
Resource not found
| Code | Description |
| :--- | :---------- |
| resource_not_found | The requested URL was not found |
Response Attributes
descriptionstring Required
Response Attributes
descriptionstring Required
Response Attributes
descriptionstring Required
External Service Error
| Code | Description |
| :--- | :---------- |
| error_code_9002 | Server was not able process your request |
Response Attributes
descriptionstring Required
Response Attributes
descriptionstring Required