Card Product
Update a Card Product
Introduction
Account
- Account
- Account Documents
- Business
- Enhanced FDIC Insurance
- Person
- Reserve Account
- Transaction
Account Opening
- Account Product
- Account Application
- Additional Person
- Business Application
- Deposit
- KYC
- KYC Product
- Person Application
Cards
- Card
- Digital Wallet Tokens
- MarqetaJS
- Card Auth Loop Endpoint
- Card Event
- Card Product
Payments
- ACH
- Book Transfer
- Check Issuing
- Check Deposit
- Counterparty
- FedNow
- Manual Hold
- Incoming ACH
- Incoming Wire
- Invoice Account Number
- Network Transfer
- Wire
Testing
- Simulation Endpoint
Utilities
- Document
- File
- Routing Number
- Search
- Webhook
Card Product
Update a Card Product
PATCH
/
cardproduct
/
{id}
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
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
Unique identifier for object
Body
application/json
The cardproduct to update
The body is of type object
.
Response
200 - application/json
The cardproduct updated
The response is of type object
.
Was this page helpful?
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
}