3. Activate
You can activate the cards you have created.
Card - Activate
PUT
{{Base Address}}/api/paywall/card/production/enable
Sending a request to the provided address above will be sufficient. You can use the 'Base Address' as you wish for both the test environment and the production environment
Important: To use the Card Activation service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' field. PaymentAPI Address
The header information that needs to be sent to the service is as follows:
Parameter | Type | Mandatory | Description |
---|---|---|---|
apikeyprivate | string | Yes | Private Key obtained from the merchant panel. |
apiclientprivate | string | Yes | Private Client obtained from the member business panel. |
The parameters that need to be sent to the service are as follows:
Parameter | Type | Mandatory | Description |
---|---|---|---|
CardId | int | Yes | The ID information of the card in the PayWall is returned at the time of creation. |
The response returned from the service is:
Parameter | Type | Description |
---|---|---|
Body | object | It returns null without providing details. |
ErrorCode | int | Error code. If the operation is successful, it returns the value '0'. |
Result | bool | It returns either true or false. If the operation is successful, it returns the value 'true'. |
Message | string | If the operation is erroneous, this message is provided for the specified error in accordance with the locale parameter, offering language support. |
Last updated