Variable $BaseTransactionConst
$BaseTransaction: {
properties: {
chainId: {
example: 137;
format: "int64";
readOnly: true;
type: "integer";
};
createdAt: {
description: "Date of creation of the transaction";
example: "2024-09-01T12:00:00Z";
format: "date-time";
readOnly: true;
type: "string";
};
currency: {
$ref: "#/components/schemas/Currency";
readOnly: true;
};
email: {
description: "Email address of the user making the purchase";
format: "email";
nullable: true;
readOnly: true;
type: "string";
};
error: {
$ref: "#/components/schemas/Error";
};
fees: {
description: "Fees of the transaction in cents of the fiat currency.";
example: "6";
pattern: "^[0-9]+$";
readOnly: true;
type: "string";
};
firstName: {
description: "First name of the buyer";
example: "John";
nullable: true;
readOnly: true;
type: "string";
};
fullPrice: {
description: "Full price of the transaction in cents of the fiat currency. Equal to the sum of the fiat price and the fees.";
example: "1240";
pattern: "^[0-9]+$";
readOnly: true;
type: "string";
};
id: {
format: "uuid";
readOnly: true;
type: "string";
};
lastName: {
description: "Last name of the buyer";
example: "Doe";
nullable: true;
readOnly: true;
type: "string";
};
metadata: {
$ref: "#/components/schemas/CheckoutSessionMetadata";
description: "Extra parameters given back as-is";
readOnly: true;
};
parameters: {
$ref: "#/components/schemas/CheckoutSessionParameters";
description: "Dynamic parameters as given when creating the checkout session";
readOnly: true;
};
price: {
$ref: "#/components/schemas/Price";
readOnly: true;
};
productId: {
example: 1;
format: "int64";
readOnly: true;
type: "integer";
};
pspIdentifier: {
description: "Identifier specific to the PSP";
example: "12097878";
readOnly: true;
type: "string";
};
pspPublicInfos: {
additionalProperties: true;
description: "Any public data specific to the checkout session for this PSP";
readOnly: true;
type: "object";
};
pspType: {
enum: readonly ["Lydia", "Stripe", "Crypto"];
readOnly: true;
type: "string";
};
status: {
description: "Status of the transaction";
enum: readonly ["initiated", "cashed", "relayed", "reverted", "cancelled", "completed", "preauth-cancelled", "refunded"];
type: "string";
};
taxCalculationId: {
description: "ID of the Stripe tax calculation used for this transaction.";
nullable: true;
readOnly: true;
type: "string";
};
txHash: {
description: "Hash of the transaction on the blockchain";
example: "0x3D9819210A31b4961b30EF54bE2aeD79B9c9Cd3B";
nullable: true;
readOnly: true;
type: "string";
};
userAddress: {
$ref: "#/components/schemas/UserAddress";
description: "Wallet which would receive the purchased NFT";
example: "0x3D9819210A31b4961b30EF54bE2aeD79B9c9Cd3B";
readOnly: true;
};
vatPrice: {
description: "VAT of the transaction in cents of the fiat currency.";
example: "6";
pattern: "^[0-9]+$";
readOnly: true;
type: "string";
};
webhookNotified: {
description: "Wether or not the webhook was notified about mint";
example: false;
type: "boolean";
};
};
required: readonly ["id", "productId", "pspType", "pspIdentifier", "price", "fees", "vatPrice", "taxCalculationId", "fullPrice", "currency", "chainId", "status", "userAddress", "pspPublicInfos", "txHash", "createdAt"];
type: "object";
} = ...