4. Restart

If the payment order you initiated for your pending payouts in the pool within the scope of the marketplace fails, you can track it using the inquiry service and re-trigger it using the JobId.

Reinitiate Payment Order

POST {{Base Adres}}/api/paywall/marketplace/manual/trigger/restart

Important: To use the Initiate Payment Order service, you must include the apikeypublic and apiclientpublic parameters in the Header section. PaymentAPI Address

Parameter
Type
Compolsory
Description

apikeypublic

string

Yes

The Public Key obtained from the merchant panel.

apiclientpublic

string

Yes

The Public Client obtained from the merchant panel.

The parameters that must be sent to the service are as follows:

Parameter
Type
Compulsory
Description

JobId

JobId

Yes

Returned by Paywall during the payment initiation request.

The sample JSON and example code to be sent to the service are as follows:

{
    "JobId": "2501b2de-1e4f-48f9-8263-5bc51b92e193"
}

Response returned from the service:

Parameter
Type
Description

ErrorCode

int

Error code. Returns '0' if the operation is successful.

Result

bool

Returns either true or false. Returns 'true' if the operation is successful.

Message

string

If the operation fails, this is the error message provided. It supports language localization based on the locale parameter.

Body

object

Operation detail information.

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "JobId": "2501b2de-1e4f-48f9-8263-5bc51b92e193",
        "DateFrom": "2024-06-01T00:00:00",
        "DateTo": "2024-06-07T00:00:00",
        "Earning": 9400.0000,
        "Count": 1
    }
}

Last updated