Membership Transactions

Membership transactions represent points added or deducted from a customer's membership program.

Base URL: https://memberships.vivenu.com/api

Endpoints

Creates a new transaction

Payload

amount
Required
integer int64
customerId
Required
string
programId
Required
string

Optional Attributes

Collapse all
description
Optional
string
meta
Optional
object
sellerId
Optional
string
Responses
200
Transaction created

Was this section helpful?

YesNo
post
/api/transactions
{
"amount": 1,
"customerId": "string",
"description": "string",
"meta": {},
"programId": "string",
"sellerId": "string"
}
Response
application/json
{
"_id": "string",
"amount": 1,
"createdAt": "2030-01-23T23:00:00.123Z",
"customerId": "string",
"description": "string",
"membershipId": "string",
"meta": {},
"programId": "string",
"sellerId": "string",
"updatedAt": "2030-01-23T23:00:00.123Z"
}