GET Single Invoice Payment
Production
https://{{subdomain}}.daftra.com/api2
Production
https://{{subdomain}}.daftra.com/api2
GET
https://{{subdomain}}.daftra.com/api2
Invoice Payments
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://.daftra.com/api2/invoice_payments/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
"code": 200,
"result": "successful",
"data": {
"InvoicePayment": {
"id": 0,
"invoice_id": 0,
"payment_method": "string",
"amount": 0,
"transaction_id": "string",
"treasury_id": 0,
"date": "2019-08-24T14:15:22Z",
"email": "string",
"status": 0,
"notes": "string",
"response_code": "string",
"response_message": "string",
"created": "2019-08-24T14:15:22Z",
"modified": "2019-08-24T14:15:22Z",
"currency_code": "str",
"first_name": "string",
"last_name": "string",
"address1": "string",
"address2": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"country_code": "str",
"phone1": "string",
"phone2": "string",
"transaction_type": "string",
"processed": true,
"attachment": "string",
"staff_id": 0,
"receipt_notes": "string"
}
},
"pagination": {
"prev": "/api2/clients/?page=1",
"next": "/api2/clients/?page=3",
"page": 2,
"page_count": 5,
"total_results": 98
}
}
Request
Path Params
id
stringÂ
required
format
stringÂ
required
Header Params
Accept
stringÂ
optional
Default:
application/json
Content-Type
stringÂ
optional
Default:
application/json
Authorization
stringÂ
optional
Default:
Bearer {{access_token}}
apikey
stringÂ
deprecated
Default:
{{apikey}}