API · Subscriptions
Subscription refund
XML 2.9 onlyPOST
RefundBillingOperationDescription
Возврат платежа
Request and response
Examples come from OpenAPI and are read-only here. Run requests in the Sandbox section.
POST
https://subs.digitalspb.com/Http/Services/RefundBillingOperation.aspxPRODUCTIONThis step is currently described in XML 2.9 only.
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
<Response> <StatusName>REQUEST_ACCEPTED</StatusName> <BillingOperationID>0f4f4a1e-6f0b-4a8b-9c3f-2a1d5e7c9b10</BillingOperationID></Response>XML 2.9 request fields
RefundBillingOperation| Request fields | Type | Req. | Description |
|---|---|---|---|
Now | string | required | |
Signature | string | required | |
BillingOperationID | string (uuid) | optional | |
SubscriptionProjectID | integer (int32) | required |
Responses
200
Ответ платформы. Результат обработки передаётся полями StatusID и StatusName.
refund500
Внутренняя ошибка платформы
Full error codes are in Error codes.