Зарегистрируйтесь и начните использовать Yume бесплатно
curl --request PATCH \
--url https://api.example.com/v1/billing/cards/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"active": true,
"recurring": true
}
'{
"id": 123,
"tenant": 123,
"status": "ok",
"card_hash": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"bank_alias": "<string>",
"brand_alias": "<string>",
"expiry_year": "<string>",
"expiry_month": "<string>",
"active": true,
"recurring": true
}curl --request PATCH \
--url https://api.example.com/v1/billing/cards/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"active": true,
"recurring": true
}
'{
"id": 123,
"tenant": 123,
"status": "ok",
"card_hash": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"bank_alias": "<string>",
"brand_alias": "<string>",
"expiry_year": "<string>",
"expiry_month": "<string>",
"active": true,
"recurring": true
}ok - okapproved - approveddeleted - deletedok, approved, deleted Была ли эта страница полезной?