2. Payment Based
Payment Based Payment Confirmation
POST
{{PaymentBaseAddress}}/api/paywall/marketplace/reject/payment
Important: In order to use the payment service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' field.
PaymentAPI Address
Parameter | Type | Required | Description |
---|---|---|---|
apikeypublic | string | Yes | The Public Key you have obtained from the merchant panel. |
apiclientpublic | string | Yes | The Public Client obtained from the merchant panel. |
The parameters that need to be sent to the service are as follows:
Parameter | Type | Required | Description |
---|---|---|---|
PaymentId | int | Yes | The Id information on the PayWall side should be used for the payment. |
Sample to be sent to the service JSON and sample codes is as follows.
The response from the service:
Parameter | Type | Description |
---|---|---|
ErrorCode | int | Error code. It returns '0' if the operation is successful |
Result | bool | The function returns a boolean value, either 'true' or 'false'. If the operation is successful, it returns 'true.' |
Message | string | If the operation is unsuccessful, this is the error message, providing language support based on the 'locale' parameter. |
Body | nesne | Operation details |
Sample response for success
Sample response for failure
Last updated