Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
user_id
string
amount
number
receipt
object
notes
object
idempotency_key
string

An optional idempotency key to prevent duplicate transactions, must be a valid uuid

Response

200 - application/json
success
boolean
message
string

Error message if success is false

transaction
object