@mollie/api-client
Version:
Official Mollie API client for Node
86 lines (85 loc) • 3.22 kB
TypeScript
import type { OrganizationAdress } from '../../data/organizations/Organizations';
import { type IdempotencyParameter } from '../../types/parameters';
export interface SubmitParameters extends IdempotencyParameter {
/**
* Data of the organization you want to provide.
*
* @see https://docs.mollie.com/reference/v2/onboarding-api/submit-onboarding-data?path=organization#parameters
*/
organization?: {
/**
* Name of the organization.
*/
name?: string;
/**
* Address of the organization.
*/
address?: OrganizationAdress;
/**
* The Chamber of Commerce registration number of the company.
*/
registrationNumber?: string;
/**
* The VAT number of the company, if based in the European Union. The VAT number will be checked with the VIES
* service by Mollie.
*/
vatNumber?: string;
/**
* The organization's VAT regulation, if based in the European Union. Either `'shifted'` (VAT is shifted) or
* `'dutch'` (Dutch VAT rate) is accepted.
*/
vatRegulation?: 'shifted' | 'dutch';
};
/**
* Data of the payment profile you want to provide.
*
* @see https://docs.mollie.com/reference/v2/onboarding-api/submit-onboarding-data?path=profile#parameters
*/
profile?: {
/**
* The profile's name should reflect the tradename or brand name of the profile's website or application.
*/
name?: string;
/**
* The URL to the profile’s website or application. The URL must be compliant to RFC3986 with the exception that we
* only accept URLs with `http://` or `https://` schemes and domains that contain a TLD. URLs containing an @ are
* not allowed.
*/
url?: string;
/**
* The email address associated with the profile's tradename or brand.
*/
email?: string;
/**
* A description of what kind of goods and/or products will be offered via the payment profile.
*/
description?: string;
/**
* The phone number associated with the profile's trade name or brand. Must be in the E.164 format. For example
* `'+31208202070'`.
*/
phone?: string;
/**
* The industry associated with the profile's tradename or brand.
*
* Possible values:
* * `4121` Travel, rental and transportation
* * `5192` Books, magazines and newspapers
* * `5399` General merchandise
* * `5499` Food and drinks
* * `5533` Automotive Products
* * `5641` Children Products
* * `5651` Clothing & Shoes
* * `5732` Electronics, computers and software
* * `5735` Entertainment
* * `5815` Digital services
* * `5944` Jewelry & Accessories
* * `5977` Health & Beauty products
* * `6012` Financial services
* * `7299` Personal services
* * `7999` Events, festivals and recreation
* * `8398` Charity and donations
*/
categoryCode?: number;
};
}