Show Menu

Fund Company Wallet - Bank Debit

Fund Company Wallet Using Bank Debit

This API call allows companies to fund thier own wallets using their Bank Debit linked banks. Fund using Bank Debit is not instant and it takes 3-5 business days.

post/API/v4/Wallet/FundWalletUsingACHDebit

Header Parameters

Authorizationstring

bearer access_token

Content-typestring

application/json

Request Parameters

IssuerAccountNumberstring

String length: inclusive between 1 and 25

Amountdecimal

Decimal length: inclusive between 1 and 25

WalletIDint

int length: inclusive between 1 and 10. Use 'GetCompanyWallets' to get WalletID.

CurrencyCodestring

String length: 3

LinkedBankIDstring

String: Use 'GetACHDebitLinkedBankAccounts' to get the Bank Debit linked bank ID.

Reponse Parameters

FundCompanyWalletUsingCreditCardResultstring

Returned if successful List of fields for a transaction. For each transaction the following parameters are returned:
TransactionID—Transaction ID
Amount—Amount
Fee—Fee
TotalAmount—Total Amount
Currency—Currency
Status—Funding Status

OperationStatusstring

Always returned Indicates the status of the operation. Allowed parameters are:
Errors - Displays an error message if the Property name Obligation Definition/value operation was unsuccessful. For more information, see API Error Message Appendix.
Success—Indicates whether the operation was successful. Returns True if the action was successful or False if it was not successful.

Sample Request:

sandbox.xapi.xtrm.com/API/v4/Wallet/FundWalletUsingACHDebit

{
  "FundWalletUsingACHDebitRequest": {
    "Request": {
        "IssuerAccountNumber": "SPN Issuer Account Number",
        "Amount": "Amount",
        "CurrencyCode": "Currency Code",
        "WalletID": "Use GetCompanyWallets API Call to get your company wallet ID",
        "LinkedBankID": "Use GetACHDebitLinkedBankAccounts to get the Bank Debit beneficiary id"
      }
    }
  }
						

Sample Response:


{
	"FundWalletUsingACHDebitResponse": {
		"FundWalletUsingACHDebitResult": {
			"TransactionID": "250345",
			"Amount": "100.00",
			"Fee": "0.00",
			"TotalAmount": "100.00",
			"Currency": "USD",
			"Status": "Bank Debit fund request in process (Pending). You will be notified once completed.",
			"OperationStatus": {
				"Success": true,
				"Errors": null
			}
		}
	}
}