Third party status poll
Payments
The payments REST services allow you to initiate a payment, retrieve the payment details or perform specific actions like refunding or requesting capture of a payment. A payment is identified by its paymentId. Some payment products allow a two step approach allowing you to control when the authorization takes place separate from when the funds are actually captured.
Request
Polls a third party for the status of the payment.
Currently only available for payments performed with payment products 3012 (Bancontact) and 863 (WeChat Pay). In the case of Bancontact, it is used to determine if the customer is paying using the Bancontact app and if so, what the payment status is.
Request example
This scenario you will probably use the most
-
response, err := client.V1().Merchant("merchantId").Payments().ThirdPartyStatus("paymentId", nil)
Responses
Please find below an overview of the possible responses.
Response 200 - OKdomain.ThirdPartyStatusResponse
The response contains the current third party status.
Properties
|
|||
Property | Type | Required | Details |
---|---|---|---|
thirdPartyStatus | string | no | read close |
close
DescriptionThe status returned by the third party.
Possible values:
|
Response example
This scenario you will probably use the most
-
{ "thirdPartyStatus" : "WAITING" }