Skip to main content
Types for x402 monetization features

PaymentRequirement

Defines a single payment requirement within a payment instruction.

PaymentInstruction

Represents a complete payment instruction with all its requirements.

CreatePaymentInstructionRequest

Request body for creating a new payment instruction.

UpdatePaymentInstructionRequest

Request body for updating an existing payment instruction.

PaymentInstructionListQuery

Query parameters for listing payment instructions.

PaymentInstructionListResponse

Response structure for listing payment instructions.

PaymentInstructionResponse

Response structure for single payment instruction operations.

PaymentInstructionDeleteResponse

Response structure for delete operations.

CidListQuery

Query parameters for listing CIDs associated with a payment instruction.

CidListResponse

Response structure for listing CIDs.

CidAssociation

Represents a CID associated with a payment instruction.

CidAssociationResponse

Response structure for adding a CID to a payment instruction.

CidRemoveResponse

Response structure for removing a CID from a payment instruction.