Payments
Validate Purchase Code
Changed onValidates a purchase verification code and returns purchase details including available prices.
post/payments/purchases/validate-code
Request
- Base URLhttps://api.hexclave.com/api/v1
- URLhttps://api.hexclave.com/api/v1/payments/purchases/validate-code
- Authnone declared
Request body
Example request
{
"full_code": "proj_abc123_def456ghi789",
"return_url": "https://myapp.com/purchase-success"
}Response
Successful response
Example response
{
"product": {
"client_metadata": {
"featureFlag": true,
"source": "marketing-campaign"
},
"client_read_only_metadata": {
"featureFlag": true,
"source": "marketing-campaign"
},
"server_metadata": {
"featureFlag": true,
"source": "marketing-campaign"
}
}
}Changes
- info
added the required property
to the response with the status
- info
- breaking
the response property
became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - warning
added the new
undefinedenum value to theresponse property for the response status - warning
added the new
undefinedenum value to theresponse property for the response status
- breaking