Yedpay

Description (Apply Group of Company's Credentials)

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

End Point

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

Variable

Variable
# Name Type Description
1 company_id String Company's ID

Request Header

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

Body

Body
# Name Type Description
1 type Integer 2: Online Credentials (4_1: Alipay Online WAP, 4_2: Alipay Online PC2Mobile, 4_3: Alipay Online SDK, 8_2: WeChat Pay Online, 8_3: WeChat Pay Online SDK, 9_1: UnionPay ExpressPay, 9_2: UnionPay ExpressPay CN, 9_5: UnionPay UPOP, 12_1: Visa Online, 12_2: MasterCard Online)
3: Credit Card Offline Credentials (7_1: VISA Offline, 7_2: MasterCard Offline)
4: Alipay Online Credentials (4_1: Alipay Online WAP, 4_2: Alipay Online PC2Mobile, 4_3: Alipay Online SDK)
5: UnionPay Online Credentials (9_1: UnionPay ExpressPay, 9_2: UnionPay ExpressPay CN, 9_5: UnionPay UPOP)
6: UnionPay Offline Credentials (10_1: UnionPay Merchant Presented Code, 10_2: UnionPay Customer Presented Code, 11_1: UnionPay POS)
7: WeChat Pay Online Credentials (8_2: WeChat Pay Online, 8_3: WeChat Pay Online SDK)
8: SDK Credentials (4_3: Alipay Online SDK, 8_3: WeChat Pay Online SDK)
9: Credit Card Online Credentials (12_1: Visa Online, 12_2: MasterCard Online)

Response

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.59.0-20220801 © The Payment Cards Group Limited. All rights reserved.