Headers
Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Path Parameters
Response
The payment received details have been successfully retrieved.
The unique identifier of the payment received
1
The payment receive number
"PR-001"
The date of the payment
"2023-01-01T00:00:00Z"
The formatted payment date
"2023-01-01"
The customer ID
1
The amount received
100
The formatted amount
"100.00"
The currency code
"USD"
The exchange rate
1
The formatted exchange rate
"1.00"
The ID of the deposit account
2
Deposit account details
The user ID who created the payment
5
The date when the payment was created
"2023-01-01T00:00:00Z"
The formatted created at date
"2023-01-01"
The entries of the payment received
[
{
"id": 1,
"index": 0,
"paymentReceiveId": 1,
"invoiceId": 10,
"paymentAmount": 100,
"paymentAmountFormatted": "100.00",
"invoice": {
"id": 10,
"invoiceNo": "INV-001",
"total": 1000,
"dueAmount": 500,
"customerId": 1
}
}
]
The reference number
"REF-001"
The statement or note
"Payment for invoice INV-001"
The ID of the branch
1
Branch details
The ID of the PDF template
1
PDF template details
{
"id": 1,
"templateName": "Default",
"resource": "PaymentReceive",
"attributes": { "primaryColor": "#000000" }
}
The date when the payment was last updated
"2023-01-02T00:00:00Z"
The attachments of the payment received
[
{ "key": "file-uuid-1" },
{ "key": "file-uuid-2" }
]