Create Credits

This endpoint allows you to create and add credit to a specific User's wallet

Must have the authorization to use this API

Credit will be added to the specified users name

POST https://example.com/wp-json/rimplenet/v1/credits

Request Body

Name
Type
Description

wallet_id*

String

Id of wallet about to be funded

amount*

int

Enter desired amount

request_id *

any

A unique identifier for this transaction

user_id *

int

id of user to be credited

note

String

Add some note

{
    "status_code": 200,
    "status": true,
    "message": "Transaction Completed",
    "data": {
        "transaction_id": 457,
        "user_id": 163
    }
}

To view request params, click on the arrow (>) at the right-hand side of the endpoint url to expand or collapse

// Some code

Last updated