post https://sandbox.external.routefusion.com/graphql (13 disregard)
The createBusinessEntity mutation creates an entity with a type of business. This will enable a business to create beneficiaries and transfers.
Parameters
Please review entity schema for full parameter list
Parameter | Type | Required |
---|---|---|
user_id | UUID | true |
true | ||
phone | String | false |
phone_country | String | false |
contact_first_name | String | true |
business_type | BusinessType | false |
business_name | String | true |
business_address1 | String | true |
contact_last_name | String | true |
business_address2 | String | false |
business_city | String | false |
business_state_province_region | String | false |
business_postal_code | PostalCode | false |
business_country | ISO3166_1 | true |
tax_number | TaxNumber | false |
accept_terms_and_conditions | Boolean | true |
GraphQL Schema
mutation createBusinessEntity (
$user_id: UUID!
$email: Email!
$phone: String
$phone_country: String
$contact_first_name: String!
$contact_last_name: String!
$business_type: BusinessType
$business_name: String!
$business_address1: String!
$business_address2: String
$business_city: String
$business_state_province_region: String
$business_postal_code: PostalCode
$business_country: ISO3166_1!
$tax_number: TaxNumber
$accept_terms_and_conditions: Boolean!
) {
createBusinessEntity (
user_id: $user_id
email: $email
phone: $phone
phone_country: $phone_country
contact_first_name: $contact_first_name
contact_last_name: $contact_last_name
business_type: $business_type
business_name: $business_name
business_address1: $business_address1
business_address2: $business_address2
business_city: $business_city
business_state_province_region: $business_state_province_region
business_postal_code: $business_postal_code
business_country: $business_country
tax_number: $tax_number
accept_terms_and_conditions: $accept_terms_and_conditions
)
}
Variables
{
"user_id": "",
"email": "",
"phone": "",
"contact_first_name": "",
"contact_last_name": "",
"business_type": "",
"business_name": "",
"business_address1": "",
"business_address2": "",
"business_city": "",
"business_state_province_region": "",
"business_postal_code": "",
"business_country": "",
"tax_number": "",
"accept_terms_and_conditions": true
}