Get Credits
Gets all credit
Reponse would return all credits
GET
https://example.com/wp-json/rimplenet/v1 /credits
{
"status_code": 200,
"status": true,
"message": "Credits Retrieved",
"data": [
{
"id": 457,
"amount": "1000",
"balance_after": "2000",
"balance_before": "1000",
"currency": "gbp",
"funds_type": "user_withdrawable_bal_gbp",
"request_id": "163_second_credit",
"total_balance_after": "2000",
"total_balance_before": "1000",
"credits_request_id": "163_second_credit",
"txn_type": "CREDIT",
"note": "",
"description": "TRANSACTION by JaneDoe, Type: CREDIT, Wallet Info: £1,000.00 pounds on Saturday 12th of November 2022 @ 11:16:37 AM"
},
{
"id": 456,
"amount": "1000",
"balance_after": "1000",
"balance_before": "0",
"currency": "gbp",
"funds_type": "user_withdrawable_bal_gbp",
"request_id": "163_first_credit",
"total_balance_after": "1000",
"total_balance_before": "0",
"credits_request_id": "163_first_credit",
"txn_type": "CREDIT",
"note": "",
"description": "TRANSACTION by JaneDoe, Type: CREDIT, Wallet Info: £1,000.00 pounds on Saturday 12th of November 2022 @ 11:04:43 AM"
}
]
}
To view request params, click on the arrow (>) at the right hand side of the endpoint url to expand or collapse
{
"status_code": 200,
"status": true,
"message": "Credits Retrieved",
"data": [
{
"id": 457,
"amount": "1000",
"balance_after": "2000",
"balance_before": "1000",
"currency": "gbp",
"funds_type": "user_withdrawable_bal_gbp",
"request_id": "163_second_credit",
"total_balance_after": "2000",
"total_balance_before": "1000",
"credits_request_id": "163_second_credit",
"txn_type": "CREDIT",
"note": "",
"description": "TRANSACTION by JaneDoe, Type: CREDIT, Wallet Info: £1,000.00 pounds on Saturday 12th of November 2022 @ 11:16:37 AM"
},
{
"id": 456,
"amount": "1000",
"balance_after": "1000",
"balance_before": "0",
"currency": "gbp",
"funds_type": "user_withdrawable_bal_gbp",
"request_id": "163_first_credit",
"total_balance_after": "1000",
"total_balance_before": "0",
"credits_request_id": "163_first_credit",
"txn_type": "CREDIT",
"note": "",
"description": "TRANSACTION by JaneDoe, Type: CREDIT, Wallet Info: £1,000.00 pounds on Saturday 12th of November 2022 @ 11:04:43 AM"
}
]
}
Last updated