Add a spending control to the card

A POST request sent to add a new spending control

Path Params
string
required
length between 40 and 40

A Card identifier. Begins with 'crd-' followed by a v4 UUID

Body Params

Data to create a new spending control.

string
required

Human-readable explanation of this spend control.

string
enum
required

Type of the spending control. This value must be combined with the right config of list or amount

Allowed:
config
required
Responses

400

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

401

Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.

403

The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.

429

The user has sent too many requests in a given amount of time ("rate limiting").

500

The server has encountered a situation it does not know how to handle.

Language
Credentials
Header
Response
Choose an example:
application/json