GET
/
users
/
{user_id}
/
mandate
/
order_status
/
{order_id}
cURL
curl --request GET \
  --url http://localhost:8080/users/{user_id}/mandate/order_status/{order_id}
{
  "amount": 123,
  "created_at": "<string>",
  "customer_id": "<string>",
  "frequency": "as_presented",
  "id": "<string>",
  "last_modified_at": "<string>",
  "mandate_status": "pending",
  "max_amount": 123,
  "order_id": "<string>",
  "user_id": "<string>",
  "account_id": "<string>",
  "end_date": "<string>",
  "juspay_order_status": "<string>",
  "mandate_id": "<string>",
  "mandate_token": "<string>",
  "payment_method": "<string>",
  "payment_method_type": "<string>",
  "start_date": "<string>",
  "txn_id": "<string>",
  "txn_uuid": "<string>"
}

Path Parameters

user_id
string
required

User ID

order_id
string
required

Juspay order_id (format: <user_id>_<unix_ms>)

Response

Current mandate status

amount
integer<int64>
required
created_at
string
required
customer_id
string
required
frequency
enum<string>
required

Debit frequency for a mandate. Mirrors Juspay's wire enum.

Available options:
as_presented,
daily,
weekly,
monthly,
bimonthly,
quarterly,
half_yearly,
yearly,
one_time
id
string
required
last_modified_at
string
required
mandate_status
enum<string>
required

Mandate lifecycle status. Starts at pending; transitions via Juspay status poll/webhook.

Available options:
pending,
active,
failed,
paused,
cancelled
max_amount
integer<int64>
required
order_id
string
required
user_id
string
required
account_id
string | null
end_date
string | null
juspay_order_status
string | null
mandate_id
string | null
mandate_token
string | null
payment_method
string | null
payment_method_type
string | null
start_date
string | null
txn_id
string | null
txn_uuid
string | null