curl --request GET \
  --url https://api.senddotssandbox.com/api/users/wallet/get/{user_id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "success": true,
  "wallet": {
    "amount": 1000,
    "withdrawable_amount": 900,
    "credit_balance": 0
  }
}

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

user_id
string
required

ID of user whose wallet to return

Response

200 - application/json
success
boolean
wallet
object