Skip to main content
POST
Cancel a transfer

Authorizations

Authorization
string
header
default:easner_sk_test_…
required

A secret key, easner_sk_test_… or easner_sk_live_…, as Authorization: Bearer. Each key has one business, one mode and fixed scopes. Transfer routes also accept a transfer's easner_ta_… secret for the customer.

Path Parameters

id
string
required

The object id, as the API returned it.

Response

The transfer after cancellation.

A send (tr_). next_action is set while the customer must authorize. client_secret is returned once, in test only.

id
string
required
Pattern: ^tr_
quote
string | null
required
source
string | null
required
destination
string | null
required
amount
integer
required

The principal in cents, before the fee.

fee
object
required
total
object
required
rate
number | null
required
receive
object | null
required
currency
string
required
status
string
required

For example requires_action, completed, failed or canceled.

livemode
boolean
required
created
string<date-time>
required
expires_at
string<date-time> | null
required
next_action
object | null
required
fee_details
object

Your own breakdown of fee, for you only (the customer sees one fee). easner.amount + application.amount = fee.amount. application_fx_margin is inside the rate, not in fee.

client_secret
string

The one-time test-mode authorize secret. Only on create, in test.