Update funding account

Update a funding account.

Path parameters

fundingAccountIdintegerRequired
Unique identifier of the funding account.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
typeenumRequired
Type of funding account.
Allowed values:
useenumRequired

Indicates if we send funds or withdraw funds from the account.

  • credit - Send funds to the account.
  • debit - Withdraw funds from the account.
  • creditAndDebit - Send funds and withdraw funds from the account.
Allowed values:
nameOnAccountstringRequired
Name of the account holder.
paymentMethodslist of objectsRequired
Array of paymentMethod objects.
metadatamap from strings to stringsOptional

Metadata object you can use to include custom data with your request.

Errors