Single Sub Merchant

Endpoint prepared for member merchants registered with Paymes to get a single sub merchant.

sub-merchant

POST https://api.paym.es/marketplace/v1/sub-merchant/{sub_merchant_id}

Path Parameters

NameTypeDescription

sub_merchant_id

string

The "id" parameter of the sub-merchant you want to edit.

Request Body

NameTypeDescription

publicKey

string

The key provided by Paymes to the merchant.

{
    "status": true,
    "results": {
        "status": true,
        "type": "individual",
        "merchant_id": "b9e9cac2-0c3a-4205-8845-bd6b6a3c3ad2",
        "sub_merchant_id": "e74226e7-7b45-4ca5-96d7-c3abde40dbf4",
        "secret": "67bcf1c4ec24485495c68b654a34eefc",
        "return_url": null,
        "name": "Paym",
        "surname": "Es",
        "email": "jogn@doe.com",
        "phone": "905462191691",
        "iban": "TR240006263288597775565638",
        "pin": "1111111111",
        "tin": "11111111111",
        "tax_office": null,
        "company_name": "test",
        "company_country": "TR",
        "company_city": "34",
        "company_district": "Suadiye",
        "company_address": "Bağdat Cad.",
        "company_postal_code": "34000",
        "commission_ratio": "1.99",
        "foreign_commission_ratio": "2.99",
        "payout_days": [
            "1",
            "4"
        ],
        "foreign_credit_card": null,
        "onboarded_at": null,
        "deleted_at": null,
        "created_at": "2021-10-01 17:11:50",
        "updated_at": "2021-10-01 17:11:50",
        "full_name": "Paym Es",
        "status_label": "Active",
        "type_label": "Individual",
        "available_payout_days": [
            1,
            2,
            4,
            5
        ]
    }
}

Last updated