curl --request POST \
--url https://api.treasuryprime.com/hold \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"account_id": "acct_1234567890",
"amount": "10.00",
"expires_at": "2023-11-09T22:39:48Z",
"hold_description": "Hold description",
"hold_release_description": "Released description"
}'
{
"account_id": "acct_1234567890",
"amount": "10.00",
"bank_id": "bank_treasuryprime",
"expires_at": "2023-11-09T22:39:48Z",
"hold_description": "Hold description",
"hold_release_description": "Released description",
"hold_transaction_id": "ttx_1234567890",
"id": "hold_1234567890",
"org_id": "org_fintech",
"release_transaction_id": null,
"status": "active"
}
curl --request POST \
--url https://api.treasuryprime.com/hold \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"account_id": "acct_1234567890",
"amount": "10.00",
"expires_at": "2023-11-09T22:39:48Z",
"hold_description": "Hold description",
"hold_release_description": "Released description"
}'
{
"account_id": "acct_1234567890",
"amount": "10.00",
"bank_id": "bank_treasuryprime",
"expires_at": "2023-11-09T22:39:48Z",
"hold_description": "Hold description",
"hold_release_description": "Released description",
"hold_transaction_id": "ttx_1234567890",
"id": "hold_1234567890",
"org_id": "org_fintech",
"release_transaction_id": null,
"status": "active"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The manual_hold to create
The body is of type object
.
The manual_hold created
The response is of type object
.
Was this page helpful?