API · Subscriptions

Subscription refund

XML 2.9 onlyPOSTRefundBillingOperation

Description

Возврат платежа

Request and response

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

POSThttps://subs.digitalspb.com/Http/Services/RefundBillingOperation.aspxPRODUCTION
This step is currently described in XML 2.9 only.
Request
curl -X POST "https://subs.digitalspb.com/Http/Services/RefundBillingOperation.aspx" \  -H "Content-Type: text/xml" \  -d '<?xml version="1.0" encoding="utf-8"?><Request>  <SubscriptionProjectID>2001</SubscriptionProjectID>  <BillingOperationID>0f4f4a1e-6f0b-4a8b-9c3f-2a1d5e7c9b10</BillingOperationID>  <Now>YOUR_TIMESTAMP</Now>  <Signature>YOUR_SIGNATURE</Signature></Request>'
Read-only example. Runnable examples are available in the Sandbox section.
200
<?xml version="1.0" encoding="utf-8"?><Response>  <StatusName>REQUEST_ACCEPTED</StatusName>  <BillingOperationID>0f4f4a1e-6f0b-4a8b-9c3f-2a1d5e7c9b10</BillingOperationID></Response>

XML 2.9 request fields

RefundBillingOperation
Request fieldsTypeReq.Description
Nowstringrequired
Signaturestringrequired
BillingOperationIDstring (uuid)optional
SubscriptionProjectIDinteger (int32)required

Responses

200
Ответ платформы. Результат обработки передаётся полями StatusID и StatusName.refund
500
Внутренняя ошибка платформы

Full error codes are in Error codes.