Yedpay

Description (Apply Group of Company's Credentials)

Apply group of credentials for the company (Online / Credit Cards). (POST)

End Point

https://api.yedpay.com/v1/companies/{{company_id}}/credentials

Variable

# Name Type Description
1 company_id String Company's ID

Request Header

# Key Value Description
1 Authorization Bearer {{access_token}} Login Token

Body

# Name Type Description
1 type Integer 2: Online Credentials (4_1: Alipay Online WAP, 4_2: Alipay Online PC2Mobile, 8_2: WeChat Pay Online) 3: Credit Card Credentials (7_1: VISA Gateway, 7_2: MasterCard Gateway) 4: Alipay Online Credentials (4_1: Alipay Online WAP, 4_2: Alipay Online PC2Mobile)

Response

# Name Type Description
1 success Boolean Apply Credential Success or Fail
2 message String Success or Fail Message

Example Success Response

            {
                "success": true,
                "message": "Request Accepted."
            }
        

Example Error Response

            {
                "success": false,
                "message": "Gateway was requested before",
                "status": 400
            }
        

v1.29.1-20191003 © The Payment Cards Group Limited. All rights reserved.