Yedpay

Description (Cancel Credential)

Action to cancel the credential selected if the status is pending. (DELETE)

End Point

https://api.yedpay.com/v1/credentials/{{credential_id}}

Variable

Variable
# Name Type Description
1 credential_id String Credential'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

Response

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

Example Success Response

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

* Possible of Error Response

Possible of Error Response
# Status Code Message Description
1 500 Internal Error
2 401 Unauthorized
3 400 Gateway credential not allowed to be updated The status of credential selected is not pending

Example Error Response

            {
                "success": false,
                "message": "Gateway credential not allowed to be updated",
                "status": 400
            }
        

v1.66.3-20240425 © The Payment Cards Group Limited. All rights reserved.