The response to the getSubscriptionDetails operation is made via the payment gateway after a request for subscription details.
It consists of HEADER and BODY of the getSubscriptionDetailsResponse type.
The HEADER is transmitted by the payment gateway.
Check the authentication token value (see Verifying the SOAP header in the response chapter).
The structure of the getSubscriptionDetailsResponse message is as follows:
Name Type getSubscriptionDetailsResult getSubscriptionDetailsResult
The structure of the getSubscriptionDetailsResult message is as follows:
The data returned in the response depends on the objects and attributes sent in the request.
However, whatever the operation, the responseCode attribute of the CommonResponse object must first be analyzed:
- The value 0 indicates that the operation is successfully completed.
- A value different from 0 involves an analysis of the responseCodeDetails attribute. It specifies the origin of the error.
Note: the paymentResponse,cardResponse,authorizationResponse, captureResponse, customerResponse, markResponse, extraResponse,fraudManagementResponse and tokenResponse objects are not taken into account in the response.