Controls
Create a control
Creates a control and applies it to the specified target.
post/issuing/controls
Request
- Base URLhttps://{prefix}.api.sandbox.checkout.com
- AuthOAuth 2Client credentialsToken URLstringScopesissuing:controls-write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Cko-Idempotency-Keystring
An optional idempotency key for safely retrying Issuing requests.
Request body
Example request
{
"description": "Maximum spend of 500€ per week for restaurants",
"control_type": "velocity_limit",
"target_id": "crd_fa6psq42dcdd6fdn5gifcq1491",
"velocity_limit": {
"amount_limit": 50000,
"velocity_window": {
"type": "weekly"
},
"mid_list": [
1234567890
]
}
}Response
Control created successfully
Example response
{
"id": "ctr_gp7vkmxayztufjz6top5bjcdra",
"description": "Maximum spend of 500€ per week for restaurants",
"control_type": "velocity_limit",
"target_id": "crd_fa6psq42dcdd6fdn5gifcq1491",
"is_editable": true,
"created_date": "2023-03-12T18:20:12.0000000+00:00",
"last_modified_date": "2023-03-12T18:20:12.0000000+00:00",
"_links": {
"self": {
"href": "https://{prefix}.api.checkout.com/issuing/controls/ctr_mbvprn5bm27ubh4c5rq5tha2wy",
"actions": [
"GET"
],
"types": [
"application/json"
]
}
},
"velocity_limit": {
"amount_limit": 50000,
"velocity_window": {
"type": "weekly"
},
"mid_list": [
1234567890
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.