curl --location --request POST '/api/v1/subscriptions/checkout-sessions//confirm' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"walletAddress": "string",
"tokenId": "string",
"totalCyclesAllowed": 0,
"limits": {
"capAmount": "string",
"maxPerCharge": "string"
},
"schedule": {
"periodSeconds": 0,
"nextDue": 0,
"expiry": 0
}
}'{
"subscriptionId": "string",
"token": {
"address": "string",
"symbol": "string",
"decimals": 0,
"chainId": 0
},
"auth": {
"merchantId": "string",
"authId": "string",
"spender": "string"
},
"allowance": {
"method": "approve",
"spender": "string",
"requiredAllowanceUnits": "string"
},
"eip712": {
"domain": {
"property1": "string",
"property2": "string"
},
"types": {
"property1": "string",
"property2": "string"
},
"message": {
"property1": "string",
"property2": "string"
}
},
"preview": {
"type": "TRIAL",
"fromAmountHuman": "string",
"fromAmountUnits": "string",
"expiresAt": 0
}
}