cURL
curl --request POST \ --url https://api.treasuryprime.com/reserve \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "account_id": "acct_1234567890", "reserve_account_id": "acct_0987654321", "upper_limit": "100.00" }'
{ "account_id": "acct_1234567890", "amount": "0.00", "id": "reserve_1029384756", "reserve_account_id": "acct_0987654321", "upper_limit": "100.00", "userdata": null }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The reserve to create
The body is of type object.
object
The reserve created
The response is of type object.
Was this page helpful?