Create Member
The endpoint and http method information to create members are stated below.
Members can be of three different types:
- Buyer
- Sub-merchant
(used in Marketplace solution)
- Buyer Featured Sub-merchant (Both Buyer and Seller)
(used in Marketplace solution)
URL
Request Parameters
The parameters expected to be sent in requests to create a new member are listed under the table and subheadings below.
Set this parameter true if member is a buyer
Set this parameter true if member is a seller
Member type. Required if member is a seller. See: Member Types
External id of the member
Name of the member. Required if member is a seller and has limited/joint stock company
Address of the member
E-mail address of the member
Member IBAN. Required if member is a seller and settlementEarningsDestination
parameter is IBAN
. Only TR IBAN should be send
Phone number of the member
Legal company title of the member's company. Required if member is a seller and has limited/joint stock company
Tax office of the member's company. Required if member is a seller and has limited/joint stock company
Tax number of the member's company. Required if member is a seller and has limited/joint stock company
Contact name of the member. Required if member is a buyer or is a seller and has personal or private company
Contact surname of the member. Required if member is a buyer or is a seller and has personal or private company
Maximum allowed negative balance limit for sub merchant. It will be use if sub merchant balance is not enough for make refund.
Blockage day for sub merchant
Response Parameters
Parameters returned as a result of member creation are also subject to the rules specified in
the Response Formats
section of the API documentation home page. In the absence of a systematic or fictional error, the sub-parameters of the
object returned in the data
parameter are as follows:
ID of the member
The date that the member is created
The date that the member is updated
Returns true if member is a buyer
Returns true if member is a seller
Member type. See: Member Types
External id of the member
Name of the member
Address information of the member
E-mail address of the member
Phone number of the member
Contact name of the member
Contact surname of the member
Legal company title of member's company
Tax office of the member's company
Tax number of the member's company
Settlement earning destination of the member. See: Payout Destinations
Member IBAN
Maximum allowed negative balance limit for sub merchant. It will be use if sub merchant balance is not enough for make refund.
Blockage day for sub merchant
Sample Codes
You can review the sample codes in the open source Craftgate API clients.