Ledgersv2Holds
Create administrative hold - V2
Places a new hold on a ledger balance. This reduces the available balance while leaving the posted balance unchanged.
POST
/v2/ledgers/holdsRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v2/ledgers/holds" \ -H "Content-Type: application/json" \ -d '{ "ledger_id": "baa10cc3-8899-4531-a9c5-63cd06cd8d2c", "amount": 0, "reason": "string" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"ledger_id": "baa10cc3-8899-4531-a9c5-63cd06cd8d2c",
"amount": {
"amount": "123456",
"currency": "EUR",
"precision": 2
},
"status": "active",
"reason": "string",
"expires_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
}