Yedpay

Description (Company Registration info)

Request to get the company registration info(GET)

End Point

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

Request Header

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

Body

# Name Type Description

Response

# Name Type Description
1 success Boolean Request Success or Fail
2 data Array Include all registration Information (phone, email, return_url etc..)

Success Response - data

# Name Type Description
1 type String Id of the File
2 country_code String Destination country code of the phone number
3 phone String Destination phone number
4 email String Destination Email
5 return_url String The url for redirect after registration

Example Success Response

            {
                "success": true,
                "data": {
                    "type": "email",
                    "country_code": "",
                    "phone": "",
                    "email": "owner46@testing.com",
                    "return_url": "http://example.com"
                }
            }
        

Example Error Response

            {
                "success": false,
                "message": "Unauthenticated.",
                "status": 500
            }
        

v1.53.8-20220124 © The Payment Cards Group Limited. All rights reserved.