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.

fundingAccountIdintegerOptional

Unique identifier of the funding account.

createdDatestringOptionalformat: "date-time"

Date and time that we received your request to create the funding account in our system.

lastModifiedDatestringOptionalformat: "date-time"

Date and time that the funding account was last modified.

statusenumOptional

Status of the funding account. The value is one of the following:

  • approved - We approved the funding account.
  • rejected - We rejected the funding account.
  • pending - We have not yet approved the funding account.
  • hold - Our Risk team have temporarily placed a hold on the funding account.
Allowed values:
metadatamap from strings to stringsOptional

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