Skip to main content
POST
/
api
/
v2
/
accounts
Create Account
curl --request POST \
  --url https://sandbox.killb.app/api/v2/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "PSE",
  "userId": "<string>",
  "data": {
    "firstName": "<string>",
    "lastName": "<string>",
    "companyName": "<string>",
    "email": "<string>",
    "phone": "<string>",
    "accountNumber": "<string>",
    "bankCode": "<string>",
    "type": "savings",
    "countryCode": "<string>",
    "document": {
      "type": "NIT",
      "number": "123456",
      "issuedCountryCode": "CO"
    },
    "middleName": "<string>"
  },
  "externalId": "<string>"
}
'
{
  "id": "<string>",
  "userId": "<string>",
  "type": "<string>",
  "status": "<string>",
  "data": {
    "firstName": "<string>",
    "lastName": "<string>",
    "companyName": "<string>",
    "email": "<string>",
    "phone": "<string>",
    "accountNumber": "<string>",
    "bankCode": "<string>",
    "type": "savings",
    "countryCode": "<string>",
    "document": {
      "type": "NIT",
      "number": "123456",
      "issuedCountryCode": "CO"
    },
    "middleName": "<string>"
  },
  "externalId": "<string>",
  "complianceUrl": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
type
enum<string>
required
Available options:
PSE,
ACH,
WIRE,
WALLET,
COELSA,
SPEI,
CUSTODIAL,
TRANSFIYA,
SWIFT
userId
string
required
data
PSE · object
required
externalId
string
required

A unique identifier used to identify your existing user.

Response

id
string
required
userId
string
required
type
string
required
status
string
required
data
PSE · object
required
externalId
string
required

A unique identifier used to identify your existing user.

complianceUrl
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required