List

This method will fetch all the submerchant pf records registered for the merchant. The merchant has to be authorized to initiate the request.

Method URL Content-Type
POST Test: https://provisioning.sipay.com.tr/ccpayment/api/listSubMerchantPF application/json
POST Production: https://app.sipay.com.tr/ccpayment/api/listSubMerchantPF application/json


Parameters Values Condition
Header/Authorization Bearer/string Mandatory
hash_key string Mandatory


Authorization

Authorization is a header key which defines verification that the connection attempt is allowed. The method should be “Bearer”

Request

{
    "merchant_key" : "$2y$10$w/ODdbTmfubcbUCUq/ia3OoJFMUmkM1UVNBiIQIuLfUlPmaLUT1he"
}

Fail Response

{
    "status_code": 14,
    "status_description": "Invalid merchant credentials"
}

Success Response

{
    "status_code": 100,
    "status_description": "All Pf records for this merchant fetched successfully.",
    "data": [
        {
            "id": 20,
            "merchant_id": 98950,
            "pf_id": "10295",
            "name": "Mr/s. Merchant",
            "vkn": "0845486082",
            "tckn": "67890456734",
            "post_code": "34107",
            "city": "Istanbul",
            "country": "TR",
            "iso_country_code": "792",
            "url": "wayne.enterprise.com",
            "status": 1,
            "source": 3,
            "created_at": "2021-09-23T12:51:21.000000Z",
            "updated_at": "2021-09-23T12:51:21.000000Z"
        }
    ]
}