1. Product Based
Product Based Payment Confirmation
POST
{{PaymentBaseAddress}}/api/paywall/marketplace/reject/product
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 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 |
---|---|---|---|
ProductIds | List<int> | Yes | During payment, the Id information related to the sent product(s) must be used in the PayWall system. The corresponding Id is returned in the response after the product transaction If you are unable to store these Id details on your side, you can use the 'Payment-Based' confirmation method. |
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. If the transaction is successful, it returns a value of '0'. |
Result | bool | It returns either true or false. If the transaction is successful, it returns 'true'. |
Message | string | If the transaction is unsuccessful, this is the specified error message, providing language support based on the locale parameter. |
Body | nesne | Transaction details |
Sample response for success
Sample response for failure
Last updated