Update Sub Merchant
Endpoint prepared for member merchants registered with Paymes to update sub merchant.
sub-merchant/update
POST
https://api.paym.es/marketplace/v1/sub-merchant/update/{sub_merchant_id}
Path Parameters
sub_merchant_id*
string
The "id" parameter of the sub-merchant you want to edit.
Request Body
publicKey*
string
The key provided by Paymes to the merchant.
type
string
It is the parameter that determines the type of sub-merchant. There can be 2 values. 'individual' - Individual / Sole Proprietorship 'corporate' - Corporate
name
string
Sub-merchant authorized person name.
surname
string
Sub-merchant authorized person surname.
string
Sub-merchant email.
phone
number
Sub-merchant phone. You must send it with the country code without the + at the beginning. Example : 31687153565
iban
string
The iban number of the account to which the sub-merchant payment will be sent.
pin
number
Sub-merchant authorized person identification number.
tin
string
Sub-merchant tax number. Required when the "type" parameter is sent as "corporate".
tax_office
string
Sub-merchant tax office. Required when "type" parameter is sent as "corporate" and "company_country" parameter is "TR".
company_name
string
Sub-merchant company name. Required when the “type” parameter is sent as “corporate”.
company_country
string
Sub-merchant company country. Required when the “type” parameter is sent as “corporate”.
company_city
string
Sub-merchant company city. Required when the “type” parameter is sent as “corporate”.
company_district
string
Sub-merchant company district Required when the “type” parameter is sent as “corporate”.
company_address
string
Sub-merchant company address "Required when the “type” parameter is sent as “corporate”.
commission_ratio_local
string
Sub-merchant local commission ratio by country. The lowest local commission rate of the merchant it is affiliated with, the highest 100
commission_ratio_foreign
string
Sub-merchant foreign commission ratio by country. The lowest foreign commission rate of the merchant it is affiliated with, the highest 100
payout_days
array
Sub-merchant can only receive payment on the payment days of the parent merchant to which it is affiliated. If this information is not specified, it will be paid on the payment days of the parent merchant it is affiliated with.
company_postal_code
String
Sub-merchant company address postal codfe "Required when the “type” parameter is sent as “corporate”.
Last updated