Yedpay

Description (Close Transaction)

Close the selected precreated/pending transaction (PUT)

End Point

https://api.yedpay.com/v1/transactions/{{id}}/close

Variable

# Name Type Description
1 id String Transaction's ID

Request Header

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

Body

# Name Type Description
1 remark String (Optional) Remark of triggering close transaction

Response

# Name Type Description
1 success Boolean Close Transaction Success or Fail
2 message String Message of the Close Transaction response

Example Success Response

        {
            "success": true,
            "message": "Successfully close the transaction"
        }
        

Example Error Response

        {
            "success": false,
            "message": "The request is failed. Please try again.",
            "status": 400,
        }
        

v1.30.0-20191113 © The Payment Cards Group Limited. All rights reserved.