Skip to main content
GET
/
getDepositDetails
Get Deposit Details
curl --request GET \
  --url https://dashu.sa/api/external/getDepositDetails
{
  "success": true,
  "result": {
    "items": [
      {
        "id": 123,
        "amount": 200.12,
        "service_charge": "1.41"
      }
    ],
    "deposit_total_amount_without_fees": "200.12",
    "deposit_total_service_fees": "1.41"
  }
}

Documentation Index

Fetch the complete documentation index at: https://paydocs.dashu.sa/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

apiKey
string
required
The API Key of your account.
depositReference
string
required
The deposit reference (you can get it from the getDeposits endpoint).
test
boolean
Set this property to true to send the request to the development environment.
{
  "success": true,
  "result": {
    "items": [
      {
        "id": 123,
        "amount": 200.12,
        "service_charge": "1.41"
      }
    ],
    "deposit_total_amount_without_fees": "200.12",
    "deposit_total_service_fees": "1.41"
  }
}

Response properties

success
boolean
required
A boolean value indicates the response status.
result
object
required

Error Codes

Here’s a list of possible error codes of this endpoint.
CodeDescription
1Missing or invalid api key
2depositReference is a required parameter.