Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

CustomerTopup

Generated from the checked-in source. Do not edit this reference by hand.

SDK source. All SDK types.

TypeScript
/** Saved customer payment status. IDs are routing references, not display labels. */
export type CustomerTopup = {
id: string;
currency: string;
amount_nanos: string;
payment_method: string;
status: 'reconciliation_required' | 'pending' | 'paid' | 'closed';
checkout_url: string | null;
/** Original pinned purchase quantity; null for monetary wallet funding. */
credits?: {
credit_atoms: string;
definition_revision: string;
rule_revision: string;
name: string;
display_precision: number;
atoms_per_unit: '1000000000';
} | null;
};