/
GET Remittance Line items
We’re excited to announce that the latest information is now available on our new site, the Ginesys One Wiki!. Visit the site for up-to-date resources and insights. We look forward to continuing to support you there!
We’re excited to announce that the latest information is now available on our new site, the Ginesys One Wiki!. Visit the site for up-to-date resources and insights. We look forward to continuing to support you there!
GET Remittance Line items
This API allows you to:
Get all the remittance lines of a particular remittance id/reference using a combination of channel id and remittance reference.
Get all remittance lines an order using a combination of channel id & order reference as the parameter.
Endpoint
API Method: GET
URL: https://app.browntape.com/0.11/remittances/getLines.json
Payload
{
“username”=”XXXXXXXXXX”,
“auth_string”=”YYYYYYYYY”,
“channel_id”=”27736”//optional,
“remittance_ref”=”ABCD123”//optional,
“order_references”=”ABCD123”//"optional, array",
}
Response
{
"success": true,
"result_count": 1,
"results_per_page": 20,
"page": "1",
"data": [
{
Remittance_line_items: []
}
]
}
Validations
If the remittance module is not enabled for the client then we will get an error.
Channel id is a mandatory parameter.
Channel id must belong to an authenticated company.
Order reference or remittance_reference is mandatory.