Console →
SDK Reference

Add Credits

Use this when a user tops up their wallet, completes a task, or receives a reward.

typescript
await settle.wallet.credit('user_123', {
  amount: 100,                        // Credits to add — must be >= 1
  description: 'Top-up via Paystack', // Shown in transaction history
  metadata: {                         // Optional
    paymentReference: 'ss_1234567890_abc',
  },
})

Request fields#

FieldTypeRequiredDescription
amountnumberYesCredits to add. Must be a positive integer >= 1.
descriptionstringNoHuman-readable label for the transaction
metadataobjectNoAny additional context