curl --request GET \
--url https://api.unibee.dev/merchant/invoice/split_payments \
--header 'Authorization: Bearer <token>'{
"code": 123,
"data": {
"paidAmount": 123,
"payments": [
{
"createTime": 123,
"currency": "<string>",
"gatewayId": 123,
"gatewayName": "<string>",
"link": "<string>",
"paidTime": 123,
"paymentId": "<string>",
"splitSequence": 123,
"status": 123,
"totalAmount": 123
}
],
"remainingAmount": 123,
"totalAmount": 123
},
"merchantId": 123,
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Get all split payments for an invoice with payment statistics
curl --request GET \
--url https://api.unibee.dev/merchant/invoice/split_payments \
--header 'Authorization: Bearer <token>'{
"code": 123,
"data": {
"paidAmount": 123,
"payments": [
{
"createTime": 123,
"currency": "<string>",
"gatewayId": 123,
"gatewayName": "<string>",
"link": "<string>",
"paidTime": 123,
"paymentId": "<string>",
"splitSequence": 123,
"status": 123,
"totalAmount": 123
}
],
"remainingAmount": 123,
"totalAmount": 123
},
"merchantId": 123,
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The invoice id