API · Customers

Customer support

XML 2.9 onlyPOSTprojectCustomerSupport

Description

Returns a list of available payment methods for the project. XML request type: <ProjectCustomerSupportRequest>.

HTTP Headers:

  • Callisto-Protocol-Version: 2
  • SignatureVersion: 3

Request and response

Examples come from OpenAPI and are read-only here. Run requests in the Sandbox section.

POSTprojectCustomerSupportPRODUCTION
This step is currently described in XML 2.9 only.
Request
curl -X POST "https://pay-api.digitalspb.com/API/XML/InvoiceManagementService.ashx" \  -H "Content-Type: text/xml" \  -H "Callisto-Protocol-Version: 2" \  -H "SignatureVersion: 4" \  -d '<?xml version="1.0" encoding="utf-8"?><Request>  <Header>    <Authentication>      <Login>YOUR_LOGIN</Login>      <NowUtc>YOUR_TIMESTAMP</NowUtc>      <Signature>YOUR_SIGNATURE</Signature>    </Authentication>    <RequestAttempt>1</RequestAttempt>  </Header>  <ProjectCustomerSupportRequest>    <ProjectID>YOUR_PROJECT_ID</ProjectID>  </ProjectCustomerSupportRequest></Request>'
Read-only example. Runnable examples are available in the Sandbox section.
200
<?xml version="1.0" encoding="utf-8"?><Response>  <ResultCode>0</ResultCode>  <ResultDescription>OK</ResultDescription>  <ProjectCustomerSupportResponse>    <PaymentMethodList>      <PaymentMethodAvailable>        <Country>RU</Country>        <Operator>MTS</Operator>        <Type>Mobile</Type>        <Auth>SMS_PIN</Auth>      </PaymentMethodAvailable>      <PaymentMethodAvailable>        <Country>RU</Country>        <Operator>Beeline</Operator>        <Type>Mobile</Type>        <Auth>SMS_REPLY</Auth>      </PaymentMethodAvailable>    </PaymentMethodList>  </ProjectCustomerSupportResponse></Response>

XML 2.9 request fields

projectCustomerSupport
Request fieldsTypeReq.Description
ProjectCustomerSupportRequestobject & objectrequired
ProjectIDinteger (int32)required

Project ID in the Platform system. Assigned during project setup.

Headerobjectrequired

Request header with authentication. Included in every API request.

Authenticationobjectrequired

Request authentication data. All three fields are mandatory for every request.

+3
RequestAttemptinteger (int32)optional

Ordinal invoice request number (for idempotency). Starting from 0.

Gatewayobjectoptional+3

Parameters and headers

NameInRequiredDescription
Callisto-Protocol-VersionheaderyesProtocol version. Version 2 is current: it changes how dates are formatted (dd.MM.yyyy HH:mm:ss) and which fields are present in responses.
SignatureVersionheadernoSignature algorithm version. Version 3 is current: HMAC-SHA256 over login and timestamp (see the API description). The credentials themselves travel in the request body, in Request/Header/Authentication.

Responses

200
Successful responseexample

Full error codes are in Error codes.