3.1 Create Member

Creates a new member for the given merchant.

Request

Method

URL

POST

/onboarding/v1/members

{
  "isBuyer": true,
  "isSubMerchant": false,
  "memberType": "PERSONAL",
  "memberExternalId": "external123",
  "name": "John Doe",
  "address": "123 Main St, City",
  "email": "john.doe@example.com",
  "iban": "TR123456789012345678901234",
  "phoneNumber": "1234567890",
  "legalCompanyTitle": "Doe Enterprises",
  "taxOffice": "City Tax Office",
  "taxNumber": "1234567890",
  "contactName": "John",
  "contactSurname": "Doe",
  "identityNumber": "12345678901",
  "subMerchantMaximumAllowedNegativeBalance": 100.0
}

Response

Status

Response

200

{

"data": {

"id": 1,

"createdDate": "2022-01-01T12:00:00",

"updatedDate": "2022-01-01T12:00:00",

"status": "Active",

"isBuyer": true,

"isSubMerchant": false,

"memberType": "Individual",

"memberExternalId": "external123",

"name": "John Doe",

"address": "123 Main St, City",

"email": "john.doe@example.com",

"phoneNumber": "1234567890",

"identityNumber": "12345678901",

"contactName": "John",

"contactSurname": "Doe",

"legalCompanyTitle": "Doe Enterprises",

"taxOffice": "City Tax Office",

"taxNumber": "1234567890",

"settlementEarningsDestination": "",

"iban": "TR123456789012345678901234",

"subMerchantMaximumAllowedNegativeBalance": 100.0

}

}

403

400

401

401

500

Last updated