8. Disconnect

In APM providers, you can use this service to disconnect the user-merchant link in user-merchant connection flows

Disconnect

POST {{Base Adres}}/api/paywall/apm/unlink

Important To use the Disconnect service you must include the apikeypublic and apiclientpublic parameters in the Header PaymentAPI Address

The header parameters to be sent to the service are as follows

Parameter
Type
Compolsory
Description

apikeypublic

string

Yes

Public Key obtained from the merchant panel

apiclientpublic

string

Yes

Public Client obtained from the merchant panel

The BODY parameters to be sent to the service are as follows

Parameter
Type
Compulsory
Description

Phone

string

Yes

Payer phone number

ApmConnectionId

int

Yes/No

APM provider connection identity information returned during listing * Required if ApmKey is not used

ApmKey

string

Yes/No

APM provider key information See: APM * Required if ApmConnectionId is not used"

{
    "Phone": "905342979639",
    "ApmConnectionId": null,
    "ApmKey": "Masterpass_IFrame"
}

The parameters returned from the service are as follows

Parameter
Type
Desciption

ErrorCode

int

Error code returns 0 if the operation is successful

Result

bool

Returns true or false if the operation is successful it returns true

Message

string

If the operation fails this is the message describing the error with language support based on the locale parameter

Body

object

If the operation fails this is the error detail object

Last updated