This site requires javascript to be enabled.

Results for

xxx

Third party status poll

GET https://{domainname}/client/v1/{customerId}/payments/{paymentId}/thirdpartystatus

Payments

Through this API you can retrieve information that is specific to a payment.

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

SDK: Android

This scenario you will probably use the most

  • // In order to call this method, you must initialize the Connect SDK first.
    ConnectSDK.getClientApi().getThirdPartyStatus(paymentId = "payment id",
    	{ thirdPartyStatus: ThirdPartyStatus ->
    		// Process thirdPartyStatus object
    	},
    	{ apiErrorResponse: ApiErrorResponse ->
    		// Indicate that an API error occurred
    	},
    	{ failure: Throwable ->
    		// Indicate that an error occurred
    	}
    )
    

Responses

Please find below an overview of the possible responses.

Response 200 - OKThirdPartyStatusResponse

The response contains the current third party status.

Properties
Property Type Required Details
close

Description

The status returned by the third party. Possible values:
  • WAITING - The customer has not connected to the third party
  • INITIALIZED - Authentication in progress
  • AUTHORIZED - Payment in progress
  • COMPLETED - The customer has completed the payment at the third party

Response example

SDK: Android

This scenario you will probably use the most

  • {
        "thirdPartyStatus" : "WAITING"
    }