Skip to main content
POST
/
v1
/
transaction_bundles
Create a transaction bundle
curl --request POST \
  --url https://incoming.qomon.app/v1/transaction_bundles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "CreatedAt": "2023-11-07T05:31:56Z",
    "UpdatedAt": "2023-11-07T05:31:56Z",
    "donations": [
      {
        "amount": 0,
        "contact_id": 1,
        "date": "2023-11-07T05:31:56Z",
        "CreatedAt": "2023-11-07T05:31:56Z",
        "UpdatedAt": "2023-11-07T05:31:56Z",
        "affectation": "<string>",
        "amount_initial": 1,
        "comment": "<string>",
        "currency": "<string>",
        "donation_price_id": 1,
        "id": 1
      }
    ],
    "id": 1,
    "memberships": [
      {
        "amount": 0,
        "contact_id": 1,
        "CreatedAt": "2023-11-07T05:31:56Z",
        "UpdatedAt": "2023-11-07T05:31:56Z",
        "amount_initial": 1,
        "comment": "<string>",
        "currency": "<string>",
        "end_date": "2023-11-07T05:31:56Z",
        "id": 1,
        "membership_price_id": 1,
        "rolling_year": true,
        "start_date": "2023-11-07T05:31:56Z"
      }
    ],
    "summary": {},
    "transactions": [
      {
        "amount": 0,
        "contact_id": 1,
        "date": "2023-11-07T05:31:56Z",
        "CreatedAt": "2023-11-07T05:31:56Z",
        "UpdatedAt": "2023-11-07T05:31:56Z",
        "code_campaign": "<string>",
        "comment": "<string>",
        "comment_date": "2023-11-07T05:31:56Z",
        "currency": "<string>",
        "delivered_at": "2023-11-07T05:31:56Z",
        "delivery_token": "<string>",
        "external_transaction_id": 1,
        "id": 1,
        "payment_method": {},
        "payment_method_kind": "<string>",
        "reimbursed_amount": 1,
        "transaction_bundle_id": 1,
        "unpaid_amount": 1
      }
    ]
  }
}
'
{
  "data": {
    "CreatedAt": "2023-11-07T05:31:56Z",
    "UpdatedAt": "2023-11-07T05:31:56Z",
    "donations": [
      {
        "amount": 0,
        "contact_id": 1,
        "date": "2023-11-07T05:31:56Z",
        "CreatedAt": "2023-11-07T05:31:56Z",
        "UpdatedAt": "2023-11-07T05:31:56Z",
        "affectation": "<string>",
        "amount_initial": 1,
        "comment": "<string>",
        "contact": {
          "id": 1,
          "firstname": "<string>",
          "group_id": 1,
          "membership_code": "<string>",
          "membership_number": 1,
          "surname": "<string>"
        },
        "currency": "<string>",
        "donation_price_id": 1,
        "id": 1
      }
    ],
    "id": 1,
    "memberships": [
      {
        "amount": 0,
        "contact_id": 1,
        "CreatedAt": "2023-11-07T05:31:56Z",
        "UpdatedAt": "2023-11-07T05:31:56Z",
        "amount_initial": 1,
        "comment": "<string>",
        "contact": {
          "id": 1,
          "firstname": "<string>",
          "group_id": 1,
          "membership_code": "<string>",
          "membership_number": 1,
          "surname": "<string>"
        },
        "currency": "<string>",
        "end_date": "2023-11-07T05:31:56Z",
        "id": 1,
        "membership_price_id": 1,
        "rolling_year": true,
        "start_date": "2023-11-07T05:31:56Z"
      }
    ],
    "summary": {},
    "transactions": [
      {
        "amount": 0,
        "contact_id": 1,
        "date": "2023-11-07T05:31:56Z",
        "CreatedAt": "2023-11-07T05:31:56Z",
        "UpdatedAt": "2023-11-07T05:31:56Z",
        "code_campaign": "<string>",
        "comment": "<string>",
        "comment_date": "2023-11-07T05:31:56Z",
        "currency": "<string>",
        "delivered_at": "2023-11-07T05:31:56Z",
        "delivery_token": "<string>",
        "external_transaction_id": 1,
        "id": 1,
        "payment_method": {},
        "payment_method_kind": "<string>",
        "reimbursed_amount": 1,
        "transaction_bundle_id": 1,
        "unpaid_amount": 1
      }
    ]
  },
  "status": "<string>"
}
One API key = one space. The bundle is recorded in the space of the API key you use. The payer contact can belong to a different space. Payer vs. beneficiary: contact_id in transactions is the payer; contact_id in memberships or donations is the beneficiary. They can differ (Tiers Payant). Required before creating: retrieve payment_method_kinds and default_status_id from GET /v1/transaction_settings; membership price IDs from GET /v1/membership_prices; donation price IDs from GET /v1/donation_prices. external_transaction_id must be a plain integer — string suffixes are not supported.

Authorizations

Authorization
string
header
required

OAuth2 access token. Pass the token in the Authorization header as Bearer <token>. The token is looked up in Redis to resolve the caller identity.

Body

application/json
data
object
required

Response

OK

data
object
required
status
string
required

Operation result.

Example:

"success"

Last modified on June 16, 2026