Create an internal wallet
POST {{baseUrl}}/internal_wallets
Creates a new internal wallet with the requested name.
Request Body
{"name"=>"<string>", "customerRefId"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Idempotency-Key | string | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","name":"\u003cstring\u003e","assets":[{"id":"\u003cstring\u003e","balance":"\u003cstring\u003e","lockedAmount":"\u003cstring\u003e","status":"FAILED","address":"\u003cstring\u003e","tag":"\u003cstring\u003e","activationTime":"\u003cstring\u003e"},{"id":"\u003cstring\u003e","balance":"\u003cstring\u003e","lockedAmount":"\u003cstring\u003e","status":"REJECTED","address":"\u003cstring\u003e","tag":"\u003cstring\u003e","activationTime":"\u003cstring\u003e"}],"customerRefId":"\u003cstring\u003e"}