Yedpay

Description (Show API Key by Session Key)

Show API Key by Session Key. Only allowed within 1 minutes after the offline application created.(GET)

End Point

https://api.yedpay.com/v1/session-key/{{session_key}}

Variable

Variable
# Name Type Description
1 session_key String Session Key for finding API Key

Request Header

Request Header
# Key Value Description

Body

Body
# Name Type Description

Response

Response
# Name Type Description
1 success Boolean Show Session Key Success or Fail
2 data Array Success or Fail Message
3 status String Status code(optional)

Success Response - data

Success Response - data
# Name Type Description
1 company_id String ID of Company
2 store_id String ID of Store
3 api_key String Key generated
4 revoked_at Date revoke date of the application

Example Success Response

            {
                "success": true,
                "data": {
                    "company_id": "xxx",
                    "store_id": "xxx",
                    "api_key": "xxxxxxxxxxxx",
                    "revoked_at": 2022-11-28 13:58:08,
                }
            }
        

Example Error Response

            {
                "success": false,
                "message": "Unauthenticated.",
                "status": 500
            }
        
v1.61.4-20221124 © The Payment Cards Group Limited. All rights reserved.