Merchants
POST/v1/merchant/kyb

Submit KYB

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/merchant/kyb" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"legal_name":"string"}'

Submits a simulated KYB application, approved automatically about 10 seconds later. Console session or API key with merchant:manage; 409 while one is under review.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/merchant/kybBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Body

application/json · required. Fields are listed under Request body below.

Requires permissionmerchant:manage
Held by merchant_owner. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Request Body

application/json
  1. body
legal_name*Legal Name
Length2 <= length <= 200
country?Country
Length2 <= length <= 2
Default"GE"
registration_number?Registration Number
Lengthlength <= 60
Default""

Response Body

Success.

application/json
  1. response
application?|null
status*Status

Current state; the allowed values and moves are in the state machines reference.

simulated*Simulated

True when the figure is simulated and no funds move.

[key: string]?any