Skip to main content

Notifications\InvoiceDTO

The Notifications\InvoiceDTO object represents invoice data, including information about amounts related to the invoice, its status, and associated deal data.

Field Descriptions

NameTypeDescription
idstringUnique identifier of the invoice.
internalIdstring | nullInternal identifier of the invoice, if applicable.
typeDirectionTypeType of the invoice.
statusInvoiceStatusStatus of the invoice.
sumMoneyDTOAmount of the invoice.
storeIdintegerIdentifier of the store associated with the invoice.
storeNamestringName of the store associated with the invoice.
receivedSumFromTakerMoneyDTO | nullAmount received from the taker, if applicable.
receivedSumFromMakerMoneyDTO | nullAmount received from the maker, if applicable.
serviceFeeSumMoneyDTO | nullService fee for the invoice, if applicable.
payoutSumMoneyDTO | nullPayout amount, if applicable.
createdAtstringDate and time the invoice was created in ISO 8601 format.
expireAtstringDate and time the invoice expires in ISO 8601 format.
updatedAtstringDate and time the invoice was last updated in ISO 8601 format.
dealNotifications\DealDTOData about the deal associated with the invoice.

Example

{
"id": "e15e0486-c17a-4530-a259-997cbab26a0b",
"internalId": "405953",
"type": "in",
"status": "paid",
"sum": {
"amount": "3650.00",
"currency": "RUB",
"subunit": 2
},
"storeId": 379,
"storeName": "Test Store Name",
"receivedSumFromTaker": {
"amount": "3650.00",
"currency": "RUB",
"subunit": 2
},
"receivedSumFromMaker": {
"amount": "35.00527476",
"currency": "USDT",
"subunit": 8
},
"serviceFeeSum": {
"amount": "2.97544836",
"currency": "USDT",
"subunit": 8
},
"payoutSum": {
"amount": "32.02982640",
"currency": "USDT",
"subunit": 8
},
"rate": "104.27",
"createdAt": "2024-11-23T20:40:12+00:00",
"expireAt": "2024-11-23T21:40:12+00:00",
"updatedAt": "2024-11-23T20:43:07+00:00",
"deal": {
"id": "e15e0486-c17a-4530-a259-997cbab26a0b",
"type": "in",
"status": "completed",
"paymentMethod": "tinkoff",
"paymentOption": "TO_CARD",
"requisites": {
"requisites": "2234 7017 2272 7358",
"holder": "holder name"
},
"canceledAt": "2024-11-23T21:10:12+00:00",
"disputeAttachment": null,
"disputeReason": null,
"disputeReasonData": [],
"payment": {
"takerSum": {
"amount": "3650.00",
"currency": "RUB",
"subunit": 2
},
"makerSum": {
"amount": "35.00527476",
"currency": "USDT",
"subunit": 8
},
"feeSum": {
"amount": "2.97544836",
"currency": "USDT",
"subunit": 8
},
"date": "2024-11-23T20:43:07+00:00"
},
"attachments": [],
"disputeResult": null
}
}