Body
-
The Plan ID which is linked to the Order
-
The Account ID linked to this Order. Allows to generate orders
OnBehalfof another Account. If omitted this will default to the Account associated with the User making the query. -
The currency ISO for the Order. If omitted, this will default to the preferred currency for the Account.
-
If
true, a notification, push / sms or email will be sent to the end User based on the Account preferences. -
The quantity of Plans to purchase for this Order.
-
A list of Users ID for which the Order is being generated.
POST
/orders/with-wallet
curl \
--request POST 'https://zim.api.zimconnections.com/orders/with-wallet' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"planID":"plan_guaGulGcrqgTYboPvetgE","accountID":"acct_ozxEbkTyvLPhhoglcALXE","currencyISO":"USD","notifyRecipient":true,"quantity":1,"userNanoIDs":["user_ozxEbkTyvLPhhoglcALXR"]}'
Request examples
{
"planID": "plan_guaGulGcrqgTYboPvetgE",
"accountID": "acct_ozxEbkTyvLPhhoglcALXE",
"currencyISO": "USD",
"notifyRecipient": true,
"quantity": 1,
"userNanoIDs": [
"user_ozxEbkTyvLPhhoglcALXR"
]
}
Response examples (200)
{
"id": "ordr_GMAVA4ISiqfWSG0ArGOzB",
"type": "ONE_OFF",
"status": "PROCESSING",
"userID": "user_yf95A86RIkVxau2gzBsjV",
"accountID": "acct_ozxEbkTyvLPhhoglcALXE",
"createdAt": "2026-03-12T14:39:23.149Z"
}