Skip to main content
POST
/
v1
/
identities
/
{id}
/
payment-instructions
Create a new Payment Instruction
curl --request POST \
  --url https://sandbox-api.borderless.xyz/v1/identities/{id}/payment-instructions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "country": "US",
  "currency": "USD",
  "name": "Primary Bank Account",
  "paymentMethod": "ACH",
  "details": {
    "accountHolderName": "John Doe",
    "bankAccountNumber": "123456789012",
    "bankRoutingNumber": "123456789",
    "bankAccountType": "Checking",
    "address": {
      "street1": "123 Main St",
      "city": "New York",
      "country": "US",
      "postalCode": "10001",
      "street2": "Apt 4B",
      "state": "NY"
    },
    "bankName": "Example Bank"
  }
}
'
{
  "id": "<string>",
  "name": "<string>",
  "paymentMethod": "ACH",
  "currency": "USD",
  "country": "US",
  "deleted": false,
  "details": {
    "bankName": "Chase",
    "bankSlug": "Chase",
    "bankAccountNumberLast4": "7890",
    "bankRoutingNumber": "021000021",
    "bankCode": "40006",
    "phone": "<string>",
    "taxId": "<string>",
    "accountHolderName": "John Doe",
    "bankAccountType": "Checking",
    "address": {
      "id": "<string>",
      "street1": "<string>",
      "street2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "country": "AF",
      "postalCode": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
country
enum<string>
required

The country code in ISO-3166-2 format where the payment instructions are applied. See ISO-3166-2 documentation.

Available options:
AF,
AL,
DZ,
AS,
AD,
AO,
AI,
AQ,
AG,
AR,
AM,
AW,
AU,
AT,
AZ,
BS,
BH,
BD,
BB,
BY,
BE,
BZ,
BJ,
BM,
BT,
BO,
BQ,
BA,
BW,
BV,
BR,
IO,
BN,
BG,
BF,
BI,
CV,
KH,
CM,
CA,
KY,
CF,
TD,
CL,
CN,
CX,
CC,
CO,
KM,
CD,
CG,
CK,
CR,
HR,
CU,
CW,
CY,
CZ,
CI,
DK,
DJ,
DM,
DO,
EC,
EG,
SV,
GQ,
ER,
EE,
SZ,
ET,
FK,
FO,
FJ,
FI,
FR,
GF,
PF,
TF,
GA,
GM,
GE,
DE,
GH,
GI,
GR,
GL,
GD,
GP,
GU,
GT,
GG,
GN,
GW,
GY,
HT,
HM,
VA,
HN,
HK,
HU,
IS,
IN,
ID,
IR,
IQ,
IE,
IM,
IL,
IT,
JM,
JP,
JE,
JO,
KZ,
KE,
KI,
KP,
KR,
KW,
KG,
LA,
LV,
LB,
LS,
LR,
LY,
LI,
LT,
LU,
MO,
MG,
MW,
MY,
MV,
ML,
MT,
MH,
MQ,
MR,
MU,
YT,
MX,
FM,
MD,
MC,
MN,
ME,
MS,
MA,
MZ,
MM,
NA,
NR,
NP,
NL,
NC,
NZ,
NI,
NE,
NG,
NU,
NF,
MP,
NO,
OM,
PK,
PW,
PS,
PA,
PG,
PY,
PE,
PH,
PN,
PL,
PT,
PR,
QA,
MK,
RO,
RU,
RW,
RE,
BL,
SH,
KN,
LC,
MF,
PM,
VC,
WS,
SM,
ST,
SA,
SN,
RS,
SC,
SL,
SG,
SX,
SK,
SI,
SB,
SO,
ZA,
GS,
SS,
ES,
LK,
SD,
SR,
SJ,
SE,
CH,
SY,
TW,
TJ,
TZ,
TH,
TL,
TG,
TK,
TO,
TT,
TN,
TR,
TM,
TC,
TV,
UG,
UA,
AE,
GB,
UM,
US,
UY,
UZ,
VU,
VE,
VN,
VG,
VI,
WF,
EH,
YE,
ZM,
ZW,
AX
Example:

"US"

currency
enum<string>
required

The fiat currency for the payment instructions. Learn more about supported currencies at Currency Guide.

Available options:
USD,
EUR,
BRL,
ARS,
MXN,
COP,
CLP,
PEN,
BWP,
CDF,
GHS,
KES,
MWK,
NGN,
RWF,
ZAR,
TZS,
UGX,
ZMW,
XOF,
XAF
Example:

"USD"

name
string
required

A unique identifier for a payment instruction, allowing to distinguish it from other accounts.

Required string length: 1 - 255
Example:

"Primary Bank Account"

paymentMethod
enum<string>
required

The method used to execute the payment instructions. Learn more at Payment Instructions Guide.

Available options:
ACH,
Wire,
Sepa,
Swift,
Card,
MobileMoney,
PIX,
PSE,
SPEI,
COELSA,
SPAV,
CCE,
NIP,
GhIPSS,
BankTransfer,
EFT
Example:

"ACH"

details
US Details (ACH and Wire) · object
required

The details of the payment instructions, which vary depending on the paymentMethod. Refer to Payment Instructions Guide for specifics.

  • US Details (ACH and Wire)
  • Bank Details
  • Identifier (PIX)
  • SEPA (Europe)
  • Mobile Money (Africa)

Response

Successfully created Payment Instruction data.

id
string
required
name
string
required
paymentMethod
enum<string>
required
Available options:
ACH,
Wire,
Sepa,
Swift,
Card,
MobileMoney,
PIX,
PSE,
SPEI,
COELSA,
SPAV,
CCE,
NIP,
GhIPSS,
BankTransfer,
EFT
currency
string
required
Example:

"USD"

country
enum<string>
required
Available options:
AF,
AL,
DZ,
AS,
AD,
AO,
AI,
AQ,
AG,
AR,
AM,
AW,
AU,
AT,
AZ,
BS,
BH,
BD,
BB,
BY,
BE,
BZ,
BJ,
BM,
BT,
BO,
BQ,
BA,
BW,
BV,
BR,
IO,
BN,
BG,
BF,
BI,
CV,
KH,
CM,
CA,
KY,
CF,
TD,
CL,
CN,
CX,
CC,
CO,
KM,
CD,
CG,
CK,
CR,
HR,
CU,
CW,
CY,
CZ,
CI,
DK,
DJ,
DM,
DO,
EC,
EG,
SV,
GQ,
ER,
EE,
SZ,
ET,
FK,
FO,
FJ,
FI,
FR,
GF,
PF,
TF,
GA,
GM,
GE,
DE,
GH,
GI,
GR,
GL,
GD,
GP,
GU,
GT,
GG,
GN,
GW,
GY,
HT,
HM,
VA,
HN,
HK,
HU,
IS,
IN,
ID,
IR,
IQ,
IE,
IM,
IL,
IT,
JM,
JP,
JE,
JO,
KZ,
KE,
KI,
KP,
KR,
KW,
KG,
LA,
LV,
LB,
LS,
LR,
LY,
LI,
LT,
LU,
MO,
MG,
MW,
MY,
MV,
ML,
MT,
MH,
MQ,
MR,
MU,
YT,
MX,
FM,
MD,
MC,
MN,
ME,
MS,
MA,
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