Billing
GrailPay’s API supports associating specific billable events with a particular merchant, enabling precise attribution for billing purposes. This feature allows you to link the UUID of a user tied to a merchant (a business that has undergone KYB verification) to the billing event recorded for the API call. To attribute the billing event to a merchant, include the following parameter in your request payload:- billing_merchant_user_uuid: The unique identifier (UUID) of the user associated with the merchant to whom this billable event should be attributed.
Endpoint
POST /3p/api/v1/register/personRequest Payload
| Fields | Type | Is Required | Description |
|---|---|---|---|
| first_name | string | ||
| last_name | string | ||
| string|unique | |||
| phone | string | without prefix +1 | |
| client_reference_id | string | ||
| billing_merchant_user_uuid | string | No | The UUID of the user associated with the merchant that should be associated with the billable event that is created when onboarding a new perso |
| address.line_1 | string | ||
| address.line_2 | string | ||
| address.city | string | ||
| address.state | string(2) | ||
| address.zip | string | must consist of 5 digit without any special character | |
| bank_account.plaid.access_token | string | Plaid user access token | |
| bank_account.plaid.account_id | string | Plaid user account id | |
| bank_account.custom.account_number | string | Bank account number maximum of 17 characters | |
| bank_account.custom.routing_number | string | Bank account routing number 9-digit ABA routing transit number associated with the account without any special character | |
| bank_account.custom.account_name | string | Name of account in bank | |
| bank_account.custom.account_type | string | Bank account type Possible values: savings checking |
