Skip to main content
POST
/
3p
/
api
/
v1
/
user
/
kyb
/
{uuid}
Update Business KYB ( DEPRECATED )
curl --request POST \
  --url https://api.grailpay.com/3p/api/v1/user/kyb/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "business": {
    "name": "Business Name",
    "tin": "123456789"
  },
  "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
business
object
required
address
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