curl --request POST \
--url https://api-m.sandbox.paypal.com/v1/commerce/billing/events/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"events": [
{
"transaction_id": "event_t1_1753838783",
"external_subscription_id": "91624203-791a-4639-8c86-4693948b3a41",
"metric_code": "Billable_Metrics_1753827008",
"timestamp": "2023-01-01T00:00:00Z",
"properties": {
"gb": 10
}
},
{
"transaction_id": "event_t2_1753838783",
"external_subscription_id": "91624203-791a-4639-8c86-4693948b3a41",
"metric_code": "Billable_Metrics_1753827008",
"timestamp": "2023-01-01T00:00:00Z",
"properties": {
"gb": 10
}
}
]
}'