Logo
Brex Developer API Documentation

Update card

PUT {{baseUrl}}/v2/cards/:id

Update an existing vendor card

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Idempotency-Key
string
Content-Type
string




RESPONSES

status OK

{ "billing_address": { "line1": "sed dolore fugiat", "line2": "pariatur Duis", "city": "non ipsum sit", "state": "culpa", "country": "laboris dolore", "postal_code": "qui cillum", "phone_number": "esse " }, "card_name": "aliquip sit ut fugiat", "id": "consequat nisi magna ut", "last_four": "ad", "limit_type": "CARD", "owner": { "type": "USER", "user_id": "aute reprehenderit sint dolore" }, "status": { "value": "<Error: Could not resolve allOf schema" }, "card_type": { "value": "<Error: Could not resolve allOf schema" }, "spend_controls": { "spend_available": { "amount": 70542088, "currency": "fugiat in exercitation" }, "spend_limit": { "amount": -91404032, "currency": "laborum ea ullamco dolore" }, "spend_duration": { "value": "<Error: Could not resolve allOf schema" }, "reason": "anim", "lock_after_date": "1958-03-13" }, "mailing_address": { "line1": "officia do eiusmod labore", "line2": "amet", "city": "ull", "state": "dolore reprehenderit", "country": "incididunt esse minim et", "postal_code": "consequat magna enim", "phone_number": "dolore sunt" } }



Curl
curl -X PUT 'https://platform.staging.brexapps.com/v2/cards/:id' -H 'Idempotency-Key: $guid' -H 'Content-Type: application/json'

ENDPOINTS