x-api-key: ********************curl --location -g --request GET 'https://relay.exostack.cloud//api/suppliers/payments//lines?payment_type&bank_number' \
--header 'x-api-key: <api-key>'[
{
"id": 0,
"payment_id": 0,
"invoice_ap_id": 0,
"invoice_type_id": 0,
"invoice_number": "string",
"date": "2019-08-24T14:15:22.123Z",
"amount": 0,
"discount": 0,
"flags": 0,
"status": {
"is_deleted": false
},
"metadata": {
"updated_at": "2019-08-24T14:15:22.123Z",
"unique_id": 0,
"sdk_interface": "PaymentLineAP",
"sdk_index_used": 2
},
"sync": {
"organisation_id": "string",
"extracted_at": "2019-08-24T14:15:22.123Z",
"cursor": {
"modified_at": "2019-08-24T14:15:22.123Z",
"card_pos": 0
}
}
}
]