Create a hold on funds in an account with release conditions
curl --request POST \
--url https://api.case.dev/payments/v1/holds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_id": "<string>",
"amount": 123,
"currency": "usd",
"release_conditions": [
{
"type": "manual_approval",
"approvers": [
"<string>"
],
"document_id": "<string>",
"date": "<string>"
}
],
"on_release_action": "<string>",
"on_release_config": {},
"memo": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"metadata": {}
}
'API key starting with sk_case_
Hold created
Was this page helpful?
curl --request POST \
--url https://api.case.dev/payments/v1/holds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_id": "<string>",
"amount": 123,
"currency": "usd",
"release_conditions": [
{
"type": "manual_approval",
"approvers": [
"<string>"
],
"document_id": "<string>",
"date": "<string>"
}
],
"on_release_action": "<string>",
"on_release_config": {},
"memo": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"metadata": {}
}
'