Skip to main content
POST
/
3p
/
api
/
v2
/
users
/
{uuid}
/
kyb
Update Business KYB ( STABLE )
curl --request POST \
  --url https://api.grailpay.com/3p/api/v2/users/{uuid}/kyb \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "John",
  "last_name": "Doe",
  "email": "",
  "phone": "",
  "business": {
    "name": "Business Name",
    "tin": "123456789",
    "trading_name": "Business Trading Name",
    "entity_type": "",
    "incorporation_date": "2021-01-01",
    "incorporation_state": "CO",
    "industry": "",
    "industry_classification": {
      "code_type": "",
      "codes": [
        "<string>"
      ],
      "description": ""
    },
    "source_of_wealth": "",
    "source_of_funds": "",
    "first_transaction_completed_at": "2021-01-01 00:00:00",
    "product_type": "",
    "registered_as_inactive": false,
    "address_type": "",
    "address": {
      "line_1": "123 Main St",
      "line_2": "Apt 1",
      "city": "Denver",
      "state": "CO",
      "zip": "80202"
    }
  },
  "billing_merchant_user_uuid": "123e4567-e89b-12d3-a456-426614174000",
  "billing_processor_mid": "1234567890"
}'
{
  "status": true,
  "message": "The business KYB has been updated.",
  "data": null,
  "errors": null,
  "error_code": null
}

Authorizations

Authorization
string
header
required

Sanctum token-based authentication using the Bearer scheme. This is provided by the GrailPay Customer Support Team

Path Parameters

uuid
string<uuid>
required

UUID of the user

Body

application/json
first_name
string
required
Example:

"John"

last_name
string
required
Example:

"Doe"

email
string
required
Example:

""

phone
string
required
Example:

""

business
object
required
billing_merchant_user_uuid
string
Example:

"123e4567-e89b-12d3-a456-426614174000"

billing_processor_mid
string
Example:

"1234567890"

Response

Business Successfully updated

status
boolean
Example:

true

message
string
Example:

"The business KYB has been updated."

data
string
Example:

null

errors
string
Example:

null

error_code
string
Example:

null