Skip to Content
SDK ReferenceReferenceInterfacesInterface: CollectPaymentRequest

Interface: CollectPaymentRequest

Properties

amount

amount: MoneyInput;

customer

customer: CollectPaymentCustomer;

One of phone (mobile money) or email (Paystack checkout) is required. When both are set, phone wins and the charge goes over mobile money.


description

description: string;

idempotencyKey?

optional idempotencyKey?: string;

metadata?

optional metadata?: Record<string, unknown>;

providerAccountId?

optional providerAccountId?: string;

reference

reference: string;

Shown to the customer on the payment prompt and their statement — your order/invoice number.


returnUrl?

optional returnUrl?: string;

Where Paystack returns the customer’s browser after a hosted checkout. Only used for the email (card) path — ignored for mobile money.

Last updated on