Update Member

3.2 Update Member

Updates the member for the given merchant.

Request

Method

URL

PUT

/onboarding/v1/members/{member_id}

{
    "name": "Updated John Doe",
    "address": "456 Updated St, City",
    "phone_number": "9876543210",
    "identity_number": "09876543210",
    "contact_name": "Updated John123",
    "contact_surname": "Updated Doe",
    "sub_merchant_maximum_allowed_negative_balance": 200.0,
    "is_buyer": true,
    "is_sub_merchant": false,
    "member_type": "PERSONAL",
    "email": "deneme@gmail.com",
    "legal_company_title":"deneme",
    "tax_office":"",
    "tax_number":"",
    "iban":"TR123456789012345678901234",
    "settlement_earnings_destination":"WALLET"
}

Response

Status

Response

200

{

"data": {

"id": 1,

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

"updatedDate": "2022-01-02T15:30:00",

"status": "Active",

"isBuyer": true,

"isSubMerchant": false,

"memberType": "Individual",

"memberExternalId": "external123",

"name": "Updated John Doe",

"address": "456 Updated St, City",

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

"phoneNumber": "9876543210",

"identityNumber": "09876543210",

"contactName": "Updated John",

"contactSurname": "Updated Doe",

"legalCompanyTitle": "Doe Enterprises",

"taxOffice": "City Tax Office",

"taxNumber": "1234567890",

"settlementEarningsDestination": "",

"iban": "TR123456789012345678901234",

"subMerchantMaximumAllowedNegativeBalance": 200.0

}

}

403

400

401

401

500

Last updated