cURL
curl --request PATCH \ --url https://api.treasuryprime.com/cardproduct/{id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "card_controls": { "card_controls": { "controls": [ { "amount": "3000.00", "interval": "rolling", "type": "spend_limit", "version": 1, "window": 1 } ], "name": "example_control1" } } }'
{ "card_auth_loop_endpoint_id": null, "card_back_image_file_id": null, "card_controls": { "card_controls": { "controls": [ { "amount": "3000.00", "interval": "rolling", "type": "spend_limit", "version": 1, "window": 1 } ], "name": "example_control1" } }, "card_front_image_file_id": null, "created_at": "2021-02-09T18:58:31Z", "id": "cdpt_zuhqnmz7e085", "status": "active", "three_domain_secure_config": null, "type": "virtual", "updated_at": "2021-02-09T18:58:31Z", "userdata": null }
Show child attributes
Was this page helpful?