Yedpay

Description (Create API Key by Session Key)

Create API Key by a Session Key. (POST)

End Point

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

Variable

Variable
# Name Type Description
1 store_id String Store's ID

Request Header

Request Header
# Key Value Description
1 Authorization Bearer {{access_token}} Login Token
2 Content-Type application/x-www-form-urlencoded x-www-form-urlencoded

Body

Body
# Name Type Description
1 device_id integer Id of the third party device
2 session_key String Session key created by the third party device
3 sign String Signature for the message

Response

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

Example Success Response

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

Example Error Response

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