Adding child entities
Optional feature typically used for platforms (e.g. creator platform or payroll platforms)
Platforms such as creator platforms or payroll platforms can utilize Loop to collect or send crypto payments on their platform.
When the Loop contract is deployed, an entity
is created with the following fields (below). Loop allows for users to create child entities linked to the parent.
Child entities have the same fields as parent. Thus, each child has its own custom checkout page (even if not relevant for a specific use case), list of accepted tokens, inbound treasury, items, etc. An entity must be created before Items such as subscriptions or one-time payments are created. However, you can create an entity and configure the items in the same request by providing the details.
The name of the entity using Loop
"Professional"
The addresses of the wallets receiving transfers per network
URL link to the entity's logo
"https://www.loopcrypto.xyz/logo.svg"
URL link to the entity's website
"https://www.loopcrypto.xyz"
URL to redirect on signup for entity
"https://www.loopcrypto.xyz/success"
A flag to indicate if the entity is using delegated signing
true
(Optional) A flag to indicate if the entity is using Chargebee
true
(Optional) The name of the Chargebee site
"loopcrypto"
(Optional) The API key for the Chargebee site
"test_1234567890"
(Optional) A flag to indicate if the entity is using Stripe
true
(Optional) A flag to indicate if the entity is using QuickBooks
true
(Optional) The API key for the Stripe account
"sk_test_1234567890"
(Optional) The external account ID for an entity.
"acct_1234567890"
(Optional) Customizable CSS style to personalize the user experience, defaults to #f5f5f5
"linear-gradient(180deg, #000000 0%, #45E0A8 100%), #45E0A8"
(Optional) A list of items to create and be linked to the entity
(Optional) Email for child user
(Optional) The email address to use as the reply-to address for company emails
"reply@mycompany.com"
(Optional) The number of days a payment is retried before an agreement is cancelled
137
Ok
The name of the entity using Loop
"Professional"
The addresses of the wallets receiving transfers per network
URL link to the entity's logo
"https://www.loopcrypto.xyz/logo.svg"
URL link to the entity's website
"https://www.loopcrypto.xyz"
URL to redirect on signup for entity
"https://www.loopcrypto.xyz/success"
A flag to indicate if the entity is using delegated signing
true
The ID of the entity, found on the Company Dashboard
"9906361a-7114-4756-9e7c-0752fd8378e8"
Customizable CSS style to personalize the user experience, defaults to #f5f5f5
"linear-gradient(180deg, #000000 0%, #45E0A8 100%), #45E0A8"
A list of items linked to the entity
Whether a user was created for the entity
true
The email address to use as the reply-to address for company emails
"reply@mycompany.com"
The number of days a payment is retried before an agreement is cancelled
7
Last updated