Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

An access token from the OAuth flow (eo_at_...). It lasts one hour; refresh it with the refresh token. See Authentication.

Headers

Idempotency-Key
string
required

A unique key for this debit (up to 255 printable ASCII characters), from your own record. It is kept with the debit, so sending it again later answers the first debit instead of taking twice.

Required string length: 1 - 255

Body

application/json
amount
string
required

US dollars as a string, more than zero, with up to 6 decimals.

Pattern: ^[0-9]+(\.[0-9]{1,6})?$
description
string
required

One line the merchant reads after your app's name, with at least one character that shows. No <, and no control or invisible characters.

Required string length: 1 - 200

Response

The debit. On a replay, the first debit, with Idempotent-Replayed: true.

debit
object
required