정기 결제 API (2.0)
OpenAPI 설명 다운로드
언어
서버
Mock server
https://xsolla.redocly.app/_mock/ko/api/subscriptions/
- Mock serverhttps://xsolla.redocly.app/_mock/ko/api/subscriptions/merchants/{merchant_id}/promotions/{promotion_id}/periods
- https://api.xsolla.com/merchant/v2/merchants/{merchant_id}/promotions/{promotion_id}/periods
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://xsolla.redocly.app/_mock/ko/api/subscriptions/merchants/{merchant_id}/promotions/{promotion_id}/periods'응답
application/json
{ "id": 17840, "periods": [ { … } ] }
- Mock serverhttps://xsolla.redocly.app/_mock/ko/api/subscriptions/merchants/{merchant_id}/promotions/{promotion_id}/periods
- https://api.xsolla.com/merchant/v2/merchants/{merchant_id}/promotions/{promotion_id}/periods
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
-u <username>:<password> \
'https://xsolla.redocly.app/_mock/ko/api/subscriptions/merchants/{merchant_id}/promotions/{promotion_id}/periods' \
-H 'Content-Type: application/json' \
-d '{
"periods": [
{
"from": "2019-03-02T00:00:00+04:00",
"to": "2019-04-02T00:00:00+04:00"
}
]
}'- Mock serverhttps://xsolla.redocly.app/_mock/ko/api/subscriptions/merchants/{merchant_id}/promotions/{promotion_id}/review
- https://api.xsolla.com/merchant/v2/merchants/{merchant_id}/promotions/{promotion_id}/review
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://xsolla.redocly.app/_mock/ko/api/subscriptions/merchants/{merchant_id}/promotions/{promotion_id}/review'응답
application/json
[ { "component": "rewards", "message": "Please select a reward" } ]