Fund Your Account

why must we fund the account? (please verify the following paragraph information is correct)
.
.
.

Before submitting your first order, you need to fund your account. In Tango Card, you can fund for free via Automated Clearing House (ACH), wire transfer, or check. You may also use Credit Cards to fund your account, but there is a 3.5% associated fee with Credit Cards. Currently, only Credit Card funding is accessible using the API. Your Tango Card Customer Success manager will provide instructions for using these funding methods.

Use Case

(example or use case here)

Fund an Account

Use the following endpoints to fund an account.

EndpointDescription
POST {URI}/creditCardDepositsFund an Account.

Here are a list of parameters for when you use POST {URI}/creditCardDeposits to fund an account.

ParameterData TypeDescription
customerIdentifierstringspecify the customer associated with the Credit Card. Must be the customer the accountIdentifier is associated with.
accountIdentifierstringspecify the account this Credit Card is associated with.
creditCardTokenstringspecify the Credit Card token to fund with.
amountstringspecify the amount to fund in USD.

The response message for this endpoint is:

  • 200 OK
  • 400 Bad request
  • 401 Unauthorized
  • 403 Forbidden

When you perform a funding call, one of these statuses are returned:

StatusDescriptionAuthorizationAccount Balance UpdateCharged
SuccessThe funding transaction has successfully completed and funds have been applied to the specified account.YesYesYes
PendingThe deposit has been received but the processing is not completed yet. It may be subject to review by Tango Card. While an authorization has been requested from the issuing bank, a capture/settlement has not yet occurred, and therefore the Credit Card has not yet been charged, as indicated by amountCharged in the response.

It may take up to the end of the following business day for pending deposits to complete processing and transition status.
YesNoNo
DeclinedThe funding transaction did not complete successfully and funds were not applied to the account. The Credit Card was not charged. If you need assistance, please contact [email protected]Yes*NoNo

The following example shows how to fund your account:

{
  "accountIdentifier": "accountId",
  "amount": 1000,
  "creditCardToken": "aedafa88-9363-4d1a-a812-a912ceff2c98",
  "customerIdentifier": "customerId"
}
  • Authorizations may take several business days to expire.

Get Details for a Specific Credit Card Deposit

Use the GET {URI}/creditCardDeposits/{DepositID} endpoint to get the details of a specific card.

EndpointDescription
GET {URI}/creditCardDeposits/{DepositID}Get details for a specific Credit Card Deposit.

Here is the path parameter for GET {URI}/creditCardDeposits/{DepositID} endpoint.

Path ParameterData TypeDescription
referenceDepositIDstringCredit card deposit identifier returned in Fund an Account (POST /creditCardDeposits) response payload.

The response message for this endpoint is:

  • 200 OK
  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found

Unregister a Credit Card

You may remove a stored Credit Card from your account by unregistering it. Once a Credit Card is unregistered it can no longer be used to fund an account until it is registered again.
In some rare instances, Tango Card may choose to unregister Credit Cards at its own discretion. If this occurs Tango Card will make a best effort to notify the business contact on the account.

EndpointDescription
POST {URI}/creditCardUnregistersunregister a Credit Card.

The following parameters are used for POST {URI}/creditCardUnregisters endpoint to unregister a Credit Card. The Credit Card token provided in the call is specially useful when you intend to apply access restrictions.

Body ParameterData TypeDescription
customerIdentifierstringspecify the customer associated with the Credit Card. Must be the customer the accountIdentifier is associated with.
accountIdentifierstringspecify the account this Credit Card is associated with.
creditCardTokenstringspecify the Credit Card token to unregister.

The response message this query is:

  • 200 OK
  • 400 Bad request
  • 401 Unauthorized
  • 403 Forbidden

List all Credit Cards Registered on this Platform

Use the GET {URI}/creditCards endpoint to list all Credit Cards registered on this platform.

EndpointDescription
GET {URI}/creditCardsList all Credit Cards registered on this Platform.

The following parameter is used for GET {URI}/creditCards endpoint.

Query ParameterData TypeDescription
showInactivestringShow inactive cards (true or false).

The response message for this query is:

  • 200 OK
  • 400 Bad request
  • 401 Unauthorized
  • 403 Forbidden

Register a New Credit Card

Currently, only Credit Card funding is accessible using the API. Credit cards that are successfully registered provide an activation date in the registration response. Registered Credit Cards are available to fund your account immediately. The first funding after registration must occur after the activation date is returned in the registration response. Any funding attempt prior to the activation date will return an error. All funding calls require the origin token returned at the time of registration.

๐Ÿ“˜

Notes:

  • Up to ten Credit Cards can be registered for an account.
    • There is a 3.5% fee associated with Credit Card funding transactions.

Use the following endpoint to register a new Credit Card on this platform:

EndpointDescription
POST {URI}/creditCardsRegister a new Credit Card.

Here is the list of parameters for when you use POST {URI}/creditCards to register a new Credit Card.

Body ParameterData TypeDescription
customerIdentifierstringspecify the customer associated with the Credit Card. Must be the customer the accountIdentifier is associated with.
accountIdentifierstringspecify the account this Credit Card is associated with
ipAdressstringspecify the The IP address of the person adding the Credit Card
labelstringspecify a label for the Credit Card
creditCardstringrequired Enter the Credit Card details that is being registered
billingAddressstring(Required) Enter the billing address information for the Credit Card that is being registered
contactInformationstring(Optional) Enter the contact information of the any person(s) who will be notified if there are issues.

The response message for this endpoint is:

  • 201 Created
  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden

How to Register a New Credit Card for Sandbox?

When registering a Credit Card for your Sandbox, you must use the correct card number for the type of card you are testing. Other numbers are not supported in the Sandbox environment:

Card BrandCredit Card NumberSecurity Code
Visa4111111111111111requires 3-digit security code.
MasterCard5555555555554444requires 3-digit security code.
Discover6011111111111117requires 3-digit security code.
American Express378282246310005requires 4-digit security code.

Test Credit Card Registered with Sandbox

You can test a pending Credit Card deposit status and simulated transitions in our sandbox environment with expected updates within one hour:

  • $5.55 - Initial response status of PENDING and resolves to SUCCESS
  • $6.55 - Initial response of PENDING and resolves to DECLINED
  • $7.55 - Initial and final response of DECLINED

Here is a sample for when you register a fake Credit Card to your account:

{
  "accountIdentifier": "accountId",
  "billingAddress": {
    "addressLine1": "123 Street",
    "addressLine2": "Suite 456",
    "city": "Seattle",
    "country": "US",
    "emailAddress": "[email protected]",
    "firstName": "First",
    "lastName": "Last",
    "postalCode": "12345",
    "state": "WA"
  },
  "creditCard": {
    "expiration": "2025-12",
    "number": "4111111111111111",
    "verificationNumber": "123"
  },
  "customerIdentifier": "customerId",
  "ipAddress": "100.10.SAMPLE.10",
  "label": "Test Card"
}

How to Get an Email Receipt When Registering a Credit Card?

For the Credit Cards that are successfully registered after March 22, 2018, Tango Card sends Credit Card funding receipts to the primary email address included in the registration call as well as up to five additional specified contacts. A contact is defined by an emailAddress and fullName.

Contacts included with a successful registration call are reflected in the response. Contacts can also be retrieved at any time using GET creditCards.

Receipts are only sent after a successful funding attempt has completed processing, the Credit Card has been charged, and the associated account balance is updated.

๐Ÿ“˜

Note:

For security reasons, the primary email address provided during Credit Card registration cannot be modified. To change the contacts where receipts are sent, the Credit Card must be deleted and re-registered with a new contact.

Get Details for a Specific Credit Card Deposit

To view the details of a specific Credit Card, use the Credit Card token provided in the call. This is specially useful when you intend to apply access restrictions.

EndpointDescription
GET {URI}/creditCards/{token}Get details for a specific Credit Card.

Here is the path parameter for when you use GET {URI}/creditCards/{token} to get details for a specific Credit Card.

Path ParameterData TypeDescription
tokenstringCredit Card token

The response message for this endpoint is:

  • 200 OK
  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found

Also visit our cross-site scripting (XXS) and Malicious Behavior.


Whatโ€™s Next