recurring payload.payment.status should be set to pending_paymentpayment.method should be set to credit_cardpayment.accepted_methods should only contain credit_cardpayment.recurring should be set to trueproducts.recurring object as per your needs.{
"customer": {
"id": 1209983424,
"name": "new name",
"mobile": "+966566666666",
"email": "mail@mail.com"
},
"receiver": {
"name": "i am the one",
"country_code": "SA",
"phone": "966566666666",
"email": "email@mail.com",
"notify": false
},
"delivery_method": "shipping",
"branch_id": 203948803,
"courier_id": 1433878184,
"ship_to": {
"country": 1473353380,
"city": 1939592358,
"district": 674989864,
"block": "Apt. 836",
"street_number": "8230",
"address": "24453 Rosalinda Well",
"address_line": "West",
"postal_code": "51434",
"geo_coordinates": {
"lat": 79.0225,
"lng": 53.5041
}
},
"payment": {
"status": "pending_payment",
"method": "credit_card",
"accepted_methods": [
"credit_card"
],
"recurring": true
},
"products": [
{
"identifier_type": "id",
"identifier": 892907448,
"quantity": 1,
"options": [
{
"id": 1626535321,
"value": [
"96445177"
]
}
],
"recurring":{
"slug": "premium-subscription-plan",
"interval_unit": "month",
"interval_count": 12,
"meta":{
"note": "Internal note"
}
}
}
]
}| Parameter | Type | Description |
|---|---|---|
app_id | integer | Your unique application identifier from the Salla Partner Portal - Optional when using Orders API |
slug | string | A unique identifier for the subscription plan (e.g., basic-monthly, pro-annual) |
interval_unit | string | The unit of time for billing cycles. Accepted values: day, week, month, year |
interval_count | integer | The number of interval units between billing cycles (e.g., 30 days, 1 month) |
| Parameter | Type | Description |
|---|---|---|
meta | object | Custom metadata object for storing additional information like plan details, customer notes, or tracking data |