Card Rules
Set Countries Rules
Changed onEndpoint to set the CardRuleCountries of the Card.
post/business/v2/cards/{cardId}/rules/countries
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopescard_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
cardIdstring required
The Card ID.
Example:7bf79328-a7ae-4222-aa54-091ff7f429a7
Headers
X-Soldo-Fingerprintstring required
Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.
Example:{{fingerprint}}
X-Soldo-Fingerprint-Signaturestring required
Advanced authentication: Signature of the X-Soldo-Fingerprint.
Example:{{fingerprint_signature}}
Request body
Example request
{
"request_timestamp": 1576850500000,
"countries": [
{
"enabled": true
}
]
}Response
The results is CardRuleCountries.
Example response
{
"total": 168,
"results": [
{
"enabled": true
}
]
}Changes
- breaking
added the new required request property
// - breaking
added the new required request property
//
- breaking