Top up member wallet
Top up can be done for different wallet type associated with card like expense, food and fuel.
Top up amount added under corresponding wallet type to a member's wallet.
/comp_emp_txns
#
Request ParametersFields | Description | Required |
---|---|---|
amount | int Amount to be loaded to card | โ |
amount_type | string Wallet type(expense, food, fuel) | โ |
employee | string Employee id of member | โ |
#
Request{ "amount": 45, "amount_type": "expense", "employee": "5936b287ef91b201008c559f"
}
#
Response{ "tags": [], "_id": "5ff834fb1f9ffe8f107fecfe", "company": "5936b287ef91b201008c559f", "amount": 45, "amount_type": "expense", "employee": "5cb59c503283cf5b8911a704", "txn_type": "topup", "approval_status": "internally_approved", "initiated_ts": 1610102011, "comments": [], "__v": 0}