Skip to main content
POST
Create a destination

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.

Body

application/json
type
enum<string>
required
Available options:
bank,
mobile_money,
wallet
customer
string

A banking customer id (cus_).

details
object

The rail details for the type: account numbers, phone, wallet address. Free form, checked by the rail.

Response

The destination.

id
string
required
Pattern: ^dest_
type
enum<string>
required
Available options:
bank,
mobile_money,
wallet
customer
string | null
required
details
object
required
livemode
boolean
required
created
string<date-time>
required