Skip to content

List the accounts an order can be paid from

GET
/funding-accounts
curl --request GET \
--url https://api.1up.gift/funding-accounts \
--header 'Authorization: Bearer <token>'

Returns the accounts the service account this key belongs to is assigned to, plus any open to all. Accounts of every currency are returned and labelled with theirs; the send endpoints reject an account whose currency does not match the order’s.

An empty list means funding is switched off for your account and orders are invoiced instead, in which case you can omit accountId when sending.

The accounts you can draw from.

Array<object>

An account an order can be paid from. Its currency must match the order currency at send time.

object
id

The account id. Pass it as accountId when sending.

integer format: int32
name

The account name.

null | string
isMaster

True for the customer’s master float (as opposed to a group account).

boolean
currencyId

The id of the currency this account holds.

null | integer format: int32
currency

The ISO code of the currency this account holds.

null | string
balance

The funds currently available, in the account currency.

number format: double
label

A ready-made display label (“Marketing (GBP): £400.00”) for dropdowns that show a single field.

null | string

The service account this key belongs to is no longer active.

object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string