1. Transactions
  2. Remove credit
POST

/api/api/transactions/remove_credit

client_id*
api_key*
curl --request POST \
     --url https://api.senddotssandbox.com/api/api/transactions/remove_credit \
     --header 'Authorization: Basic AUTH_VALUE' \
     --header 'Content-Type: application/json' \
     --data '{
 "user_id": "string",
 "amount": number
}'
{
  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
  "amount": 0,
  "reciept": {},
  "notes": {}
}
{
  "success": true,
  "transaction": {
    "id": 0,
    "date": "string",
    "source_username": "string",
    "destination_username": "string",
    "amount": 0,
    "type": "credit",
    "completed": true,
    "notes": {},
    "receipt": {},
    "credit_transaction_id": "string"
  }
}

Body

user_idRequired
string
amountRequired
number
reciept
object
notes
object

Response

success
boolean
transaction