Skip to content

PurchasePartiesInput

Optional beneficiary choice; omission deliberately means the paying customer.

const PurchasePartiesInput: Schema.Struct<{
customerId: Schema.brand<Schema.String, "ExternalCustomerId">;
beneficiary: Schema.optionalKey<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
type: Schema.Literal<"customer">;
}>, Schema.Struct<{
type: Schema.Literal<"merchant_subject">;
subjectId: Schema.brand<Schema.String, "MerchantSubjectId">;
}>]>>;
}>;