Purchase

A list of all publicly available methods for interacting with the API.

PUT

Cart purchase -/cart/purchase

Query method

PUThttp://apilocal.stableproxy.com/v2/cart/purchase

Query parameters

IdentifierRegulationsExample
order_idrequiredstring"bbb940d1-3263-4dd3-ae93-9e2d31e2e0ce"
overallrequirednumeric3.34

Code examples

1async function putCartPurchase() {
2   const baseUrl = 'http://apilocal.stableproxy.com/v2';
3   const req = await fetch(baseUrl + '/cart/purchase', {
4         method: 'PUT',
5         headers: {
6            'Authorization': 'API-Token [YOUR TOKEN]',
7            'Content-Type': 'application/json'
8         },
9         body: JSON.stringify({
10            "order_id": "bbb940d1-3263-4dd3-ae93-9e2d31e2e0ce",
11            "overall": 3.34
12         }),
13      }
14   );
15   
16   const res = await req.json();
17}

Examples of answers

StableProxy

StableProxy

© StableProxy – 2021 - 2025 – Ukraine

Payment methods