Credits history
Use this endpoint to list all the credit history of an account.
To know more about the Account click here
URL Config
Endpoint: https://api-stage.dps.io/api
APIVersion: v1
route: accounts/transactions-history
path:
Method
GET
URL
https://api-stage.dps.io/api/v1/accounts/transactions-history
Request Headers
{
"Content-Type": "application/json",
"x-api-key": "<YOUR_API_KEY>",
"ShipperHash": "<YOUR_SHIPPER_HASH>"
}
Curl request
curl --location --request GEt 'https://api-stage.dps.io/api/v1/accounts/transactions-history' \
--header 'x-api-key: xxxxxxdfjbdjdfjdhfxxxxxxx' \
--header 'ShipperHash: <YOUR_SHIPPER_HASH>'
Response
[
{
"Id": 298,
"ShipperHash": "<YOUR_SHIPPER_HASH>",
"JobHash": null,
"RecipientHash": null,
"DocumentHash": "<YOUR_DOCUMENT_HASH>",
"TransactionStatus": "Success",
"TransactionDate": "2023-06-12 16:50:29.473796+00:00",
"RefundedAmount": null,
"ChargedAmount": 0.1,
"Comments": "Charges of 0.1 has been deducted from your total available credits for Document Notarization and DocumentHash is HrBENeNCXa0GIM27KZWc5i. ",
"ApiService": null,
"IsCom": null,
"DoubleSided": null,
"ReturnEnvelope": null,
"PostageType": null,
"Color": null,
"StorageClass": null,
"TransactionType": "e-notarize",
"TransactionDescription": "eNotarizing document on DPS secure servers"
},
{
"Id": 266,
"ShipperHash": "<YOUR_SHIPPER_HASH>",
"JobHash": null,
"RecipientHash": null,
"DocumentHash": "<YOUR_DOCUMENT_HASH>",
"TransactionStatus": "Success",
"TransactionDate": "2022-12-02 08:09:11.519634+00:00",
"RefundedAmount": null,
"ChargedAmount": 0.1,
"Comments": "Charges of 0.1 has been deducted from your total available credits for Document Notarization and DocumentHash is 4yjY25xyxji8GLh3h00wN2. ",
"ApiService": null,
"IsCom": null,
"DoubleSided": null,
"ReturnEnvelope": null,
"PostageType": null,
"Color": null,
"StorageClass": null,
"TransactionType": "e-notarize",
"TransactionDescription": "eNotarizing document on DPS secure servers"
}
]