Resume payment

In order to resume previously suspended recurrent payment, it is required to send the запрос RESUME request.

The request is generated on the side of the merchant and transferred with the help of POST method to URL https://api.wayforpay.com/regularApi

Request parameters:

Parameter

Description

Type

requestType

Request type: RESUME

Mandatory

merchantAccount

Merchant identifier

Mandatory

merchantPassword

Merchant password

Mandatory

orderReference

Order number in the merchant system, under which there was created successful payment

Mandatory

Response parameters:

Parameter

Description

Example

reasonCode

Rejection code

4100

reason

Rejection reason

Ok

 

Examples of request and response

Request example:
{
"requestType": "RESUME",
"merchantAccount": "test_merch_n1",
"merchantPassword": "d485396ae413eb60dc251b0899b261c2",
"orderReference": "P21435306374431"
}
 
Response example:
{
"reasonCode": 4100,
"reason": "Ok"
}