Socotra
API ReferenceBilling API

Financial Instruments and External Cash Transactions API

ActionEndpoint
Fetch a Financial InstrumentGET/billing/{tenantLocator}/financialInstruments/{locator}
Fetch Financial Instruments for a TenantGET/billing/{tenantLocator}/financialInstruments/list
Create a Financial InstrumentPOST/billing/{tenantLocator}/financialInstruments
Set the Default Financial Instrument for a TenantPOST/billing/{tenantLocator}/financialInstruments/{locator}/setAsDefault
Update a Financial InstrumentPATCH/billing/{tenantLocator}/financialInstruments/{locator}
Fetch an External Cash TransactionGET/billing/{tenantLocator}/externalCashTransactions/{locator}

Financial Instruments

Fetch a Financial Instrument

Fetch a Financial InstrumentfetchFinancialInstrument
GET/billing/{tenantLocator}/financialInstruments/{locator}

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
locatorpathulidYes
Security Group:financial-instruments
Permission:
read
FinancialInstrumentResponse

Required properties

PropertyTypeDescription
locatorulid
isDefaultboolean

Optional properties

PropertyTypeDescription
accountLocatorulid?
institutionNamestring?
retryPlanNamestring?
defaultTransactionMethodEnum? ach | cash | eft | standard | wire
expirationTimedatetime?
externalAccountNumberstring?
externalIdentifierstring?
instrumentTypeEnum? checking | savings | creditCard | debitCard
nicknamestring?

Fetch Financial Instruments for a Tenant

Fetch Financial Instruments for a TenantlistFinancialInstruments
GET/billing/{tenantLocator}/financialInstruments/list

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
offsetqueryinteger?No
countqueryinteger?No
extendedqueryboolean?No
accountqueryulid?No
Security Group:financial-instruments
Permissions:
read,list
FinancialInstrumentListResponse

Required properties

PropertyTypeDescription
listCompletedboolean
itemsFinancialInstrumentResponse[]

Create a Financial Instrument

Create a Financial InstrumentcreateFinancialInstrument
POST/billing/{tenantLocator}/financialInstruments

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
Security Group:financial-instruments
Permission:
write
FinancialInstrumentCreateRequest

Properties

PropertyTypeDescription
accountLocatorulid?
institutionNamestring?
retryPlanNamestring?
defaultTransactionMethodEnum? ach | cash | eft | standard | wire
expirationTimedatetime?
externalAccountNumberstring?
externalIdentifierstring?
instrumentTypeEnum? checking | savings | creditCard | debitCard
nicknamestring?

Set the Default Financial Instrument for a Tenant

Set the Default Financial Instrument for a TenantsetFinancialInstrumentAsDefault
POST/billing/{tenantLocator}/financialInstruments/{locator}/setAsDefault

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
locatorpathulidYes
valuequeryboolean?No
Security Group:financial-instruments
Permission:
write

Update a Financial Instrument

Update a Financial InstrumentupdateFinancialInstrument
PATCH/billing/{tenantLocator}/financialInstruments/{locator}

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
locatorpathulidYes
Security Group:financial-instruments
Permission:
write

External Cash Transactions

Fetch an External Cash Transaction

Fetch an External Cash TransactionfetchExternalCashTransaction
GET/billing/{tenantLocator}/externalCashTransactions/{locator}

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
locatorpathulidYes
Security Group:external-cash-transactions
Permission:
read
ExternalCashTransactionResponse

Required properties

PropertyTypeDescription
locatorulid
transactionMethodEnum ach | cash | eft | standard | wire

Optional properties

PropertyTypeDescription
financialInstrumentLocatorulid?
transactionNumberstring?

On this page