Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login).0 and errors holds No V2 recipient snapshot was found. Snapshot recipients before calculating price.errors first. An empty errors list means the figures are complete.GET /api/v2/campaigns/{id}: totalPrice is the price calculated at the start and totalCost is what was charged.unpriceableRecipients. They are skipped and the other recipients are sent; unpriceableSummary says the same in one sentence.curl --location --request POST 'https://api.veloconnect.me/api/v2/campaigns/3f2b8c1e-5d47-4a9b-9c0e-7a1d2e3f4b5c/calculate-price' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"campaignId": "3f2b8c1e-5d47-4a9b-9c0e-7a1d2e3f4b5c",
"totalRecipientsCount": 250,
"billableRecipientsCount": 250,
"messagesCount": 250,
"totalPrice": 3.63,
"currency": "USD",
"channels": [
{
"campaignChannelId": 911,
"providerType": "Viber",
"priorityOrder": 1,
"recipientsCount": 180,
"billableRecipientsCount": 180,
"messagesCount": 180,
"totalPrice": 2.16,
"currency": "USD",
"errors": []
},
{
"campaignChannelId": 912,
"providerType": "SMS",
"priorityOrder": 2,
"recipientsCount": 70,
"billableRecipientsCount": 70,
"messagesCount": 70,
"totalPrice": 1.47,
"currency": "USD",
"errors": []
}
],
"errors": []
}
]
}