curl --request POST \
--url https://api.sakari.io/v1/accounts/{accountId}/checkout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"plan": "<string>",
"commitment": 123,
"frequency": "<string>",
"name": "<string>",
"email": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": {
"code": "<string>",
"flag": "<string>",
"dialing": "<string>",
"name": "<string>",
"aliass": [
"<string>"
],
"continent": "<string>",
"supported": true,
"alphaNumericSenderId": true,
"taxTypes": [
{
"type": "<string>",
"name": "<string>",
"example": "<string>"
}
]
},
"postalCode": "<string>"
},
"tax": {
"type": "<string>",
"id": "<string>"
},
"segmentUnderstanding": true
}'
{
"success": true,
"data": "<string>"
}
curl --request POST \
--url https://api.sakari.io/v1/accounts/{accountId}/checkout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"plan": "<string>",
"commitment": 123,
"frequency": "<string>",
"name": "<string>",
"email": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": {
"code": "<string>",
"flag": "<string>",
"dialing": "<string>",
"name": "<string>",
"aliass": [
"<string>"
],
"continent": "<string>",
"supported": true,
"alphaNumericSenderId": true,
"taxTypes": [
{
"type": "<string>",
"name": "<string>",
"example": "<string>"
}
]
},
"postalCode": "<string>"
},
"tax": {
"type": "<string>",
"id": "<string>"
},
"segmentUnderstanding": true
}'
{
"success": true,
"data": "<string>"
}
The access token received from the authorization server in the OAuth 2.0 flow.
Account to apply operations to
after successful checkout redirect to this url
after cancelling checkout redirect to this url
successful operation
The response is of type object
.