Skip to main content
GET
Users add payment methods in the widget’s payment method selection flow. This endpoint returns them, masked, so your backend can get the payment_method_id to send on Create a Payout, or show them in your own selector.

Configuration

Header Parameters

string
required
Your ZBD API key.

Path Parameters

string
required
The ZBD user ID returned by Create a User.

Response

object[]
The user’s payment methods. Each one is a single account paid over a single rail, so the same bank account can appear once for each rail it supports.
string
The ID you send on Create a Payout.
string
How the payout reaches the account, for example ach. Rails differ in fees and timing. See Payout Methods.
string | null
The bank or provider, so you can show something like “Chase ending in 6789”.
string
The currency the method is paid in.
string
The last four digits of the account.
string
active or inactive. A payout to an inactive method returns 422 payment_method_inactive.

Errors