Skip to main content

Check Deposits

Get Check Deposit​

Get a check deposit by check deposit id.

VerbGET
URLhttps://api.s.unit.sh/ready-to-launch/check-deposits/:checkDepositId
Required Scopecheck-deposits
Timeout (Seconds)5

Example Request:

curl -X GET 'https://api.s.unit.sh/ready-to-launch/check-deposits/12345' \
-H "Authorization: Bearer ${TOKEN}"

Response​

Returns check deposit details including direction, type, created at, tags, summary, counterparty, amount and balance (in cents).

Response is a JSON:API document.

200 OK​

NameTypeDescription
idstringIdentifier of the check deposit resource.
typestringType of the check deposit resource. The value is always checkDeposit.
attributesJSON ObjectJSON object representing the check deposit data.
relationshipsJSON:API RelationshipsDescribes relationships between the check deposit resource and other resources.

Attributes​

NameTypeDescription
amountintegerThe amount (cents) of the check deposit.
directionstringThe direction in which the funds flow.
typestringThe type of the check deposit.
createdAtstringThe date the check deposit was created.
balanceintegerThe account balance (cents) after the check deposit.
tags OptionalobjectSee Tags.
summarystringA brief summary of the check deposit.
counterparty OptionalobjectThe counterparty of the check deposit. See Counterparty

Example Response:

{
"data": {
"type": "checkDeposit",
"id": "12345",
"attributes": {
"amount": 50000,
"direction": "Credit",
"type": "CheckDeposit",
"createdAt": "2021-06-02T10:15:22.123Z",
"balance": 150000,
"tags": {
"purpose": "invoice-payment"
},
"summary": "Check deposit from John Doe",
"counterparty": {
"name": "John Doe",
"routingNumber": "812345678",
"accountNumber": "1000000002",
"accountType": "Checking"
}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10004"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
}
}
}
}