Skip to main content
POST
/
consumer
/
v1
/
deposits
Create deposit
curl --request POST \
  --url https://api.machines.cash/consumer/v1/deposits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'idempotency-key: <idempotency-key>' \
  --data '{}'
{
  "ok": true,
  "data": {},
  "summary": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

idempotency-key
string
required

Required for state-changing financial writes.

Minimum string length: 8

Body

application/json

The body is of type object.

Response

Success

ok
boolean
data
object
summary
string
errors
object[]
next
string