curl --request POST \
--url https://api.comm.com/api/v1/billing/paypal/create-transaction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 2,
"device_data": "<string>",
"subscription": true,
"checkout_data": {
"nonce": "<string>"
},
"threshold": "<string>",
"reference": "<string>"
}
'