Refund

Refund

POST https://api.2pay.co/online/v1/refund

This API is used for refund orders.

Request Body

Name
Type
Description

merchantNo*

String

ID of a merchant.

verifySign*

String

The merchants should verify the signature to ensure the response is from the server and not modified by any others.

reference*

String

The reference number of a trasaction in the merchant services system.

amount*

String

Amount of a transaction.

ipnurl

String

Asynchronous callback Url.

The IPN Url should be secure and reliable.

{
    "ret_msg": "refund success ",
    "ret_code": "000100"
}

Response

Parameter

Type

Description

ret_msg

String

Return response message.

ret_code

String

Return response status code.

Last updated