Update Meta
It’s pretty simple to update a virtual card’s meta. Check the example in the box below for details.
PUT https://vcard-api.paycertify.com/api/vcards/{vcard_id}/meta
Parameter | Type | Presence | Description | Example |
---|---|---|---|---|
meta |
object |
optional | A object to send metadata. It should be asked the configuration of these fields. | { ‘your_attribute_name’: ‘value’ } |
Field | Type | Description | Example |
---|---|---|---|
meta |
object |
A object with metadata. | { ‘your_attribute_name’: ‘value’ } |
curl -X POST \
https://vcard-api.paycertify.com/api/vcards/42e012cf-d007-4b15-bd44-8a1806bcaf6e \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"meta": {
"your_attribute_name": "value2"
}
}'
Responds with:
{
"meta": {
"your_attribute_name": "value2"
}
}