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,
"threshold": "<string>",
"reference": "<string>",
"checkout_data": {
"nonce": "<string>"
}
}'
{}
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,
"threshold": "<string>",
"reference": "<string>",
"checkout_data": {
"nonce": "<string>"
}
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.