Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
  • Recurring Payment Apps
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
  • Recurring Payment Apps
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. APIs
  • Overview
  • Usage
  • Manage Subscriptions
  • Webhook Events
  • Change Log
  • Troubleshooting
  • APIs
    • Charge Subscription
      POST
    • Cancel Subscription
      DELETE
  1. APIs

Charge Subscription

Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
POST
https://api.salla.dev/admin/v2/subscriptions/charge
Last modified:2025-10-22 13:42:43
Manually trigger a charge for an active subscription. On success, it creates a cart from the subscription items, generates an invoice, processes payment via the configured gateway, creates a final order, and emits webhooks.
Scopes
subscriptions.read_write - Subscriptions Read & Write

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "subscription_id": "5541564"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.salla.dev/admin/v2/subscriptions/charge' \
--header 'Content-Type: application/json' \
--data-raw '{
    "subscription_id": "5541564"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": 200,
    "success": true,
    "data": {
        "code": 200,
        "message": null,
        "subscription_id": 1061081537
    }
}
🟠422error_validation_422
Modified at 2025-10-22 13:42:43
Previous
APIs
Next
Cancel Subscription