admin docs
NAV
cURL

Topics

API Endpoints

Finix provides two distinct base URLs to make API requests, which are dependent on your needs. Each environment is completely separate and does not share information including API credentials.

For testing purposes, we recommend using the Sandbox API. Sandbox API: https://finix.sandbox-payments-api.com

For processing live transactions, we recommend using the Live API.

Authentication

# With CURL, just supply your username as basic auth (-u) in the header of each request as follows:

curl https://finix.sandbox-payments-api.com/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e

To communicate with the Finix API, you need to authenticate your requests via http basic access authentication with a username and password, which you can locate in your Dashboard. If you do not have a Dashboard, you can test our APIs with the credentials below:

An Application is a resource that represents your web app, such as a web service that connects buyers (i.e. customers) and sellers (i.e. merchants).

Idempotency Requests

You’ll notice the authorization and transfer object have a field named idempotency_id which ensures the API request is only performed once. Why is this important? We’ve all experienced a hanging request while on a checkout page and feared that if we refresh or submit the payment again we’ll be charged twice. With Finix, we remove the ambiguity by having the user generate a unique idempotency_id and sending it with the normal payload. If the user attempts a request with the same idempotency_id, the response will raise an exception. Now you can rest assured that when you create an authorization or debit a bank account that the user will be protected from potential network issues by simply passing idempotency_id in body of the request.

Errors

HTTP Code Meaning
400 Bad Request – You’ve attemped an invalid request
401 Unauthorized – You have used the incorrect API key
402 Upstream Processor Error – Errors caused by 3rd party service
404 Not Found – The specified resource could not be found
422 Unprocessable Entity – The parameters were valid but the request failed. The error is usually some misunderstanding of various steps that have to be executed in order (e.g. attempting to initiate a transfer on behalf of a merchant that has not yet been approved)
500 Internal Server Error – We had a problem with our server. Try again later.

Below are the different error values that the messages attribute will return for Push to Card.

Error Code Messages
REFER_TO_CARD_ISSUER Please contact card issuer for more information.
INVALID_MERCHANT Merchant not permitted for this transaction type
PICK_UP_CARD_NO_FRAUD Please contact card issuer for more information.
DO_NOT_HONOR Please contact card issuer for more information.
ERROR Please attempt transaction again but if it still cannot be processed try again at a later time
PICK_UP_CARD_FRAUD_ACCOUNT Please contact card issuer for more information.
INVALID_TRANSACTION Issuing bank does not support this transaction type on this card. Please contact card issuer for more information.
INVALID_AMOUNT_OR_CURRENCY Transaction violates network amount limit.
INVALID_ACCOUNT_NUMBER The account number does not exist. Please make sure the account number is correct or contact your issuer.
NO_SUCH_ISSUER The issuer can not be found. Please check card number to ensure it is valid.
RE_ENTER_TRANSACTION Please attempt transaction again and contact card issuer if it still cannot be processed.
NO_ACTION_TAKEN Please contact card issuer for more information.
UNABLE_TO_LOCATE_RECORD The account number does not exist. Please make sure the account number is correct or contact your issuer.
FILE_TEMPORARILY_NOT_AVAILABLE Please contact card issuer for more information.
NO_CREDIT_ACCOUNT Issuer has declined the transaction because the card is not a credit account. Please try another card.
LOST_CARD_PICK_UP_FRAUD_ACCOUNT Please contact card issuer for more information.
STOLEN_CARD_PICK_UP_FRAUD_ACCOUNT Please contact card issuer for more information.
NOT_SUFFICIENT_FUNDS Card issuer has declined the transaction as it does not have sufficient funds.
NO_CHECKING_ACCOUNT The card is not tied to a checking account and thus cannot be processed. Please try another card.
NO_SAVINGS_ACCOUNT The card is not tied to a savings account and thus cannot be processed. Please try another card.
EXPIRED_CARD The expiration date is expired or missing. Please correct and try again.
INCORRECT_PIN The PIN is invalid or missing. Please try again with the correct PIN.
TRANSACTION_NOT_PERMITTED Transaction not permitted to cardholder. Please contact card issuer for more information.
SUSPECTED_FRAUD Please contact card issuer for more information.
EXCEEDS_APPROVAL_AMOUNT_LIMIT Transaction violates issuer amount limit. Please contact card issuer for more information or try with another card.
RESTRICTED_CARD Card not supported in this region or country. Please contact card issuer for more information.
TRANSACTION_DOES_NOT_FULFILL_AML_REQUIREMENT This transaction does not fulfill compliance requirements and cannot be processed.
EXCEEDS_WITHDRAWAL_FREQUENCY_LIMIT Please attempt with another card or contact card issuer for more information.
ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED The maximum permitted number of PIN entry attempts has been exceeded. Please use another payment method.
CRYPTOGRAPHIC_ERROR_FOUND_IN_PIN The supplied PIN is invalid.
NEGATIVE_RESULTS Invalid security code.
CANNOT_VERIFY_PIN The PIN is invalid or missing. Please try again with the correct PIN.
ISSUER_INOPERATIVE Please attempt transaction again and contact card issuer if it still cannot be processed.
FINANCIAL_INSTITUTION_NOT_FOUND The issuer can not be found. Please check card number to ensure it is valid.
TRANSACTION_NOT_COMPLETED_LAW_VIOLATION The transaction cannot be completed because it violates a law.
SURCHARGE_AMOUNT_NOT_SUPPORTED The supplied surcharge amount is not supported by the issuer.
TRANSACTION_AMOUNT_EXCEEDS_PREAUTHORIZED_APPROVAL_AMOUNT Transaction violates amount limit.
CARD_AUTHENTICATION_FAILED Please contact card issuer for more information.
STOP_PAYMENT_ORDER Please contact card issuer for more information.

FAQs

Webhooks

Will I receive a request for each event or will I receive them in batch?

Is there a specific time at which events will be sent?

Is there a way to tell Finix that the event was successfully received? What type of response should we send?

If the event wasn’t received, is it going to be sent again? What type of response/exception should I send?

Is Finix sending any confidential information? I’d like to know if using a public service, like https://requestb.in, for testing the Webhooks is an option.

Is there a list of all the event types and their payload?

I’ll need a way to make sure that the same event is not processed twice, is it possible to include a unique ID in each request?

I’ll need a way to consolidate our transactions with the information received from the event. Is there a processor transaction ID that will be sent with each event?
* Yes, there are resource ID’s that are in each response. Examples below:
1. Authorization
2. Transfer (e.g. debit, refund, credit)

Do I only need to whitelist a single IP?
* We submit the requests from multiple IP addresses.

How do I validate that Finix is the right caller?

When I update the URL of a Webhook through the API is there a delay before the new URL starts sending events?

Do we need a grace period for the previous URL?
* There shouldn’t be any delays, but you can actually have multiple webhooks enabled at the same time to prevent any issues for migrating over to a new URL.

How many retries and at which frequency will you send Webhooks?
* There are three attempts and it’s put back in the queue.

Dashboard Overview

This section details common actions that a user can perform using the Dashboard.

Create an Identity for a Merchant

  1. Navigate to the PEOPLE header on the left navigation. Click on Applications.
  2. Select the Application. Click the IDENTITIES tab on the top navigation bar.
  3. Click the Create New Identity button. Complete the merchant underwriting form. Click the Submit button to submit the form.

Create a Bank Account for a Merchant

  1. Navigate to the PEOPLE header on the left navigation. Click on Merchants.
  2. Select the Merchant. This opens the merchant information screen.
  3. At the top of the Dashboard, click the ID breadcrumb link. This displays the Identities screen.
  4. Click the PAYMENT INSTRUMENTS tab on the top navigation bar. Click the Add Bank Account button. A pop-up modal appears. Add the bank information. Click the Submit button.

Onboard a New Merchant

  1. Navigate to the PEOPLE header on the left navigation. Click on Merchants.
  2. Select the Merchant.
  3. Click the Create Verification button. A pop-up modal appears. This screen confirms the merchant verification request. To confirm, click the Create button. To close and exit out of the modal, click the X at the top right of the modal.

View KYC Identity Verification

  1. Navigate to the PEOPLE header on the left navigation. Click on Merchants.
  2. Select the Merchant. This opens the merchant information screen. The KYC information is displayed in the Verifications container.

Approve and Reject a Merchant

  1. Navigate to the REVIEW header on the left navigation. Click on Merchants. This displays all the pending Merchants under your Application.
  2. Select the Merchant(s) by checking the box inline with the merchant name. You can select multiple Merchants.
  3. Click the Bulk Actions drop-down at the bottom of the page. On the drop-down you can approve or reject the selected Merchant(s).

Enable or Disable Payments Processing

  1. Navigate to the PEOPLE header on the left navigation. Click on Identities.
  2. Select the Identity. Click the PROCESSORS tab on the top navigation bar.
  3. Click the Merchant ID. Click the Edit button at the top right of the Dashboard.
  4. A pop-up modal appears. You can update merchant settings here. Toggle the Processing Enabled button. Click the Save button to save your changes. A success message appears to confirm your changes. To reenable payments, toggle the button and save the changes again.

Enable or Disable Settlement Functionality

  1. Navigate to the PEOPLE header on the left navigation. Click on Identites.
  2. Select the Identity. Click the PROCESSORS tab on the top navigation bar.
  3. Click the Merchant ID. Click the Edit button at the top right of the Dashboard.
  4. A pop-up modal appears. You can update merchant settings here. Toggle the Settlements Enabled button. Click the Save button to save your changes. A success message appears to confirm your changes. To reenable payments, toggle the button and save the changes again.

Update Fee Profile

  1. Navigate to the PEOPLE header. Click on Applications.
  2. Select the Application. Click the FEE AND RISK PROFILE tab on the top navigation bar.
  3. Click the Create Fee Profile button. Update your fee profile settings. Click Create Profile button to save your changes.

Update Risk Profile

  1. Navigate to the PEOPLE header. Click on Applications.
  2. Select the Application. Click the FEE AND RISK PROFILE tab on the top navigation bar.
  3. Scroll down to the Risk Profile container, click the Edit button. Toggle your selections. Click the Submit button to save your changes.

Approve a Settlement

  1. Navigate to the REVIEW header. Click on Settlements. This displays all the pending Settlements.
  2. Select the Settlement(s) by checking the box inline with the Settlement ID.
  3. Click the Bulk Actions drop-down at the bottom of the page. On the drop-down, select Approve to approve a Settlement(s).

Upload Dispute Evidence

  1. Navigate to the TRANSACTIONS header. Click on Disputes. This displays all Disputes.
  2. Select the Dispute. This opens the Dispute information screen. Scroll down to the Evidence container and click the Upload evidence file link and upload your evidence. Click the Upload button to save your Dispute evidence.

Tags

All Finix resources (i.e. Authorization, Application, Identity, Merchant, Payment Instrument, Settlement, Transfer) include a tags attribute that allows the user to include key-value metadata to their resource. A resource’s tags object, can have an unlimited number of tags. The information in the tags can also be updated as many times as needed.

For example, if creating a Payment Instrument, you can include additional data about the card by passing a custom key and value such, as “card-type”: “business card”.

Filters

Filters allow users to search for specific information using terms and values. Multiple filters can be applied to a search.

The tables below include examples of search filters. The examples include mock data.

Transfers and Authorizations Filters

Field Description Example
Amount = Filter Transactions that are equal to the amount in cents amount=100.00
Amount > Filter Transactions that have an amount greater than the given amount in cents gt=100.00
Amount >= Filter Transactions that have an amount greater than or equal to the given amount in cents gte=100.00
Amount < Filter Transactions that have an amount less than the given amount in cents lt=100.00
Amount <= Filter Transactions that have an amount less than or equal to the given amount in cents lte=100.00
Application ID Filter by Application ID application_id=AP6LPbgrQ2xeeadyAWN4Pp4e
Authorization ID Filter by Authorization ID id=AUtTjMjwh62oDxwEDi5o6Ktv
Bank Account Last 4 Filter Transactions by the last 4 digits of the bank account. The bank account last 4 are the last 4 digits of the masked number instrument_account_last4=9444
BIN Filter by Bank Identification Number (BIN). The BIN is the first 6 digits of the masked number instrument_bin=444444
Card Brand Filter by card brand. Available card brand types can be found in the drop-down instrument_brand_type=DISCOVER
Created At = Filter Transactions that are equal to the date and time given. Time to be entered in UTC format created_at.created_at.gte=2019-06-15&created_at.lte=2019-06-15
Created At >= Filter Transactions that are greater than or equal to the date and time given. Time to be entered in UTC format created_at.gte=2019-06-15
Created At <= Filter Transactions that are less than or equal to the date and time given. Time to be entered in UTC format created_at.lte=2019-06-15
Identity ID Filter by Identity ID merchant_identity_id=IDpcdriNfwBZwB5EMG52nMQV
Identity Name Filter Transactions by Identity name. The name is not case-sensitive merchant_identity_name=Finix
Instrument Name Filter Transactions by payment instrument name instrument_name=visa
Instrument Type Filter Transactions by payment instrument type. Available instrument types include: Bank Account or Payment Card instrument_type=PAYMENT_CARD
Merchant ID Filter by Merchant ID merchant_id=MU4zxKcvWB15paBe5SdYiFta
Merchant Ident String Filter by Merchant Identification Number (MID) merchant_mid=4445036913770
Payment Card Last 4 Filter by the payment card last 4 digits instrument_card_last4=9444
Processor ID Filter by Processor ID merchant_processor_id=PRfsrJgRawB64a6zz293Vmpy
State Filter by Transaction state. Available state filters include: All, Succeeded, Failed, Pending, or Canceled state=SUCCEEDED
Trace ID Filter Transactions by Trace ID trace_id=5a3f3db8-79c5-4202-9938-00fee9d7546a
Transfer ID Filter by Transfer ID id=TR9fk2U2ivhfeQM9sJgxZYnH
Type Filter by Transfer type. Available type filters include: All, Debits, Refunds, or Credits. Transfer values include: DEBIT, REVERSAL, CREDIT, or SETTLEMENT type=REVERSAL

Settlement Filters

Field Description Example
Amount = Filter Settlements that are equal to the amount in cents amount=100.00
Amount > Filter Settlements that have an amount greater than the given amount in cents gt=100.00
Amount >= Filter Settlements that have an amount greater than or equal to the given amount in cents gte=100.00
Amount < Filter Settlements that have an amount less than the given amount in cents lt=100.00
Amount <= Filter Settlements that have an amount less than or equal to the given amount in cents lte=100.00
Created At = Filter Settlements that are equal to the date and time given. Time to be entered in UTC format created_at.created_at.gte=2019-06-15&created_at.lte=2019-06-15
Created At >= Filter Settlements that are greater than or equal to the date and time given. Time to be entered in UTC format created_at.gte=2019-06-15
Created At <= Filter Settlements that are less than or equal to the date and time given. Time to be entered in UTC format created_at.lte=2019-06-15

Disputes and Merchants Filters

Field Description Example
Created At = Filter Disputes and Merchants that are equal to the date and time given. Time to be entered in UTC format created_at.gte=2019-06-15&created_at.lte=2019-06-15
Created At >= Filter Disputes and Merchants that are greater than or equal to the date and time given. Time to be entered in UTC format created_at.gte=2019-06-15
Created At <= Filter Disputes and Merchants that are less than or equal to the date and time given. Time to be entered in UTC format created_at.lte=2019-06-15
Dispute ID Filter by Dispute ID id=DIbYnUak9YkucZCFCNzUESX2
Merchant ID Filter by Merchant ID id=MU4zxKcvWB15paBe5SdYiFta

Identities Filters

Field Description Example
Business Name Filter Identities by full business name. An incomplete business name does not work business_name=ACME%20Anchors
Business Type Filter Identities by business type. An incomplete business type does not work business_type=LIMITED_LIABILITY_COMPANY
Created At = Filter Identities that are equal to the date and time given. Time to be entered in UTC format created_at.gte=2019-06-15&created_at.lte=2019-06-15
Created At >= Filter Identities that are greater than or equal to the date and time given. Time to be entered in UTC format created_at.gte=2019-06-15
Created At <= Filter Identities that are less than or equal to the date and time given. Time to be entered in UTC format created_at.lte=2019-06-15
Doing Business As Filter Identities by doing business as (DBA) name. An incomplete DBA name does not work doing_business_as=MTTM
Email Filter Identities by full email address or the email domain. An incomplete email address does not work email=user%40example.org
First Name Filter Identities by the first name of the person associated with the Identity first_name=Daphne
Identity ID Filter by Identity ID id=IDpcdriNfwBZwB5EMG52nMQV
Last Name Filter Identities by the last name of the person associated with the Identity last_name=kline
Title Filter Identities by title if available title=ceo

Applications Filters

Field Description Example
Application ID Filter by Application ID id=APiTHvXGuHvhVUYJtrBTjuD7

Payment Instruments Filters

Field Description Example
Account Last Four Filter Payment Instruments by the last 4 digits of the account if available account_last4=9444
Account Routing Number Filter Payment Instruments by the account routing number if available account_routing_number=9444
Application ID Filter by Application ID id=APiTHvXGuHvhVUYJtrBTjuD7
BIN Filter by Bank Identification Number (BIN). The BIN is the first 6 digits of the masked number bin=489514
Created At = Filter Payment Instruments that are equal to the date and time given. Time to be entered in UTC format created_at.gte=2019-06-15&created_at.lte=2019-06-15
Created At >= Filter Payment Instruments that are greater than or equal to the date and time given. Time to be entered in UTC format created_at.gte=2019-06-15
Created At <= Filter Payment Instruments that are less than or equal to the date and time given. Time to be entered in UTC format created_at.lte=2019-06-15
Expiration Month Filter Payment Instruments by the expiration month associated with the Payment Instruments if applicable. This filter only applies to payment cards expiration_month=1
Expiration Year Filter Payment Instruments by the 4 digit expiration year associated with the Payment Instruments if applicable. This filter only applies to payment cards expiration_year=2022
Last Four Filter Payment Instruments by the last 4 digits of the Payment Instrument card. This filter only applies to payment cards last_four=0454
Name Filter Payment Instruments by name. An incomplete entry does not work name=fran%20lemke
Owner Identity ID Filter Payment Instruments by owner identity ID owner_identity_id=IDcWwprrKrD6cSh225JWPri3
Payment Instrument ID Filter Payment Instruments by the Payment Instrument ID id=PInYuD7LM5Xdautqnm3yAN5f
Type Filter by Payment Instrument type. Available type filters include: All, Bank Account, or Payment Card type=BANK_ACCOUNT

Reports Filters

Field Description Example
End Date Filter reports that are equal to the end date given end_date=2019-06-15
Start Date Filter reports that are equal to the start date given start_date=2019-06-15

Review Queue Settlements Filters

Field Description Example
Created At = Filter Review Queue Setttlements that are equal to the date and time given. Time to be entered in UTC format created_at.gte=2019-06-15&created_at.erlte=2019-06-15
Created At >= Filter Review Queue Setttlements that are greater than or equal to the date and time given. Time to be entered in UTC format created_at.gte=2019-06-15
Created At <= Filter Review Queue Setttlements that are less than or equal to the date and time given. Time to be entered in UTC format created_at.lte=2019-06-15
Processor Filter Review Queue Setttlements by Processor type. Available processors include: LITLE_v1, VANTIV_V1, VISA_V1, or MICROBILT_V1 processor_type=VANTIV_V1

Testing for specific responses and errors

Payment Facilitation Testing

Before taking your integration to live, use the information below to test it thoroughly. Please note, once a Payment Instrument has been flagged with AVS or CVC, it will continue to throw the respective error.

Amount Description
100 Success amount
102 Failed amount
888888 Disputed amount
193 Insufficient funds amount
194 Invalid card number amount
889986 AVS total failure amount
889987 CVC failure amount
Card Description
4000000000000036 Payment card AVS total failure
4000000000000127 Payment card CVC failure

Push-to-Card Testing

Cards for Testing a Push-to-Card Payout

Scenario number region country code
Successful push to a Visa (debit card) 4895142232120006 CA USA N/A
Successful push to a Visa (credit card) 4957030420210454 CA USA N/A
Successful push to a Mastercard (debit card) 5123280115058611 CA USA N/A
Invalid account number 4957030420210504 CA USA INVALID_INSTRUMENT
Exceeds approval amount limit 4957030420210488 CA USA EXCEEDS_ISSUER_AMOUNT_LIMIT
Exceeds withdrawal frequency limit 4957030420210496 CA USA EXCEEDS_ISSUER_COUNT_LIMIT
Refer to card issuer 4895070000007685 CA USA CALL_ISSUER
Do not honor 4895070000006687 CA USA DECLINE
Lost card, pick up (fraud account) 4895070000005671 CA USA LOST_OR_STOLEN_CARD
Suspected fraud 4895070000004674 CA USA SUSPECTED_FRAUD
Transaction does not fulfill AML requirement 4895070000003551 CA USA COMPLIANCE_VIOLATION

Cards for Testing a Verification

Scenario number fast_funds_indicator push_funds_block_indicator card_type_code card_issuer_country_code
Issuer does participate in fast funds for only domestic transactions 4815070000000018 D C D 840
Issuer does participate in fast funds for all transactions 4835070000000014 B C D 840
Issuer does not participate in fast funds 4855070000000035 N C D 840
Issuer does participate in fast funds and Push-to-Card 4895047700003297 B B C 840

Guides

Overview

We offer a number of guides that provide a collection of resources for utilizing the Finix API.

  1. Authentication: Learn how to properly authenticate and interface with the API.

  2. Getting Started: A step-by-step guide demonstrating the basic workflow of charging a card. This guide will walk you through provisioning merchant accounts, tokenizing cards, charging those cards, and finally settling (i.e. payout) those funds out to your merchants.

  3. Tokenization with Hosted Fields: This guide explains how to properly tokenize cards in live via hosted fields.

  4. Subscription Billing: Guide to create, apply, and repeat payments for subscription-based services.

  5. Managing Subscriptions: Guide to manage subscriptions.

  6. Push to Card: This guide walks through using the Visa Direct API to push payments to payment cards. With push-to-card funds are disbursed to a debit card within 30 minutes or less.

  7. Pull from Card: This guide walks through using the Visa Direct API to pull payments from payment cards.

  8. Mobile Tokenization: Mobile Tokenization: This guide explains how to tokenize cards via our mobile SDKs.

Getting Started

Step 1: Create an Identity for a Merchant

curl https://finix.sandbox-payments-api.com/identities \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '
    {
        "tags": {
            "Studio Rating": "4.7"
        },
        "entity": {
            "last_name": "Sunkhronos",
            "max_transaction_amount": 12000000,
            "has_accepted_credit_cards_previously": true,
            "default_statement_descriptor": "Bobs Burgers",
            "personal_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 7",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            },
            "incorporation_date": {
                "year": 1978,
                "day": 27,
                "month": 6
            },
            "business_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 8",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            },
            "ownership_type": "PRIVATE",
            "first_name": "dwayne",
            "title": "CEO",
            "business_tax_id": "123456789",
            "doing_business_as": "Bobs Burgers",
            "principal_percentage_ownership": 50,
            "email": "user@example.org",
            "mcc": "0742",
            "phone": "1234567890",
            "business_name": "Bobs Burgers",
            "tax_id": "123456789",
            "business_type": "INDIVIDUAL_SOLE_PROPRIETORSHIP",
            "business_phone": "+1 (408) 756-4497",
            "dob": {
                "year": 1978,
                "day": 27,
                "month": 6
            },
            "url": "www.BobsBurgers.com",
            "annual_card_volume": 12000000
        }
    }'

Example Response:

{
  "id" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "entity" : {
    "title" : "CEO",
    "first_name" : "dwayne",
    "last_name" : "Sunkhronos",
    "email" : "user@example.org",
    "business_name" : "Bobs Burgers",
    "business_type" : "INDIVIDUAL_SOLE_PROPRIETORSHIP",
    "doing_business_as" : "Bobs Burgers",
    "phone" : "1234567890",
    "business_phone" : "+1 (408) 756-4497",
    "personal_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 7",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "business_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 8",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "mcc" : "0742",
    "dob" : {
      "day" : 27,
      "month" : 6,
      "year" : 1978
    },
    "max_transaction_amount" : 12000000,
    "amex_mid" : null,
    "discover_mid" : null,
    "url" : "www.BobsBurgers.com",
    "annual_card_volume" : 12000000,
    "has_accepted_credit_cards_previously" : true,
    "incorporation_date" : {
      "day" : 27,
      "month" : 6,
      "year" : 1978
    },
    "principal_percentage_ownership" : 50,
    "short_business_name" : null,
    "ownership_type" : "PRIVATE",
    "tax_authority" : null,
    "tax_id_provided" : true,
    "business_tax_id_provided" : true,
    "default_statement_descriptor" : "Bobs Burgers"
  },
  "tags" : {
    "Studio Rating" : "4.7"
  },
  "created_at" : "2021-07-28T18:24:27.40Z",
  "updated_at" : "2021-07-28T18:24:27.40Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/verifications"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/merchants"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/settlements"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/transfers"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/payment_instruments"
    },
    "associated_identities" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/associated_identities"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/disputes"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

Before we can begin charging cards we’ll need to provision a Merchant account for your seller. This requires 3-steps, which we’ll go into greater detail in the next few sections:

  1. First, create an Identity resource with the merchant’s underwriting and identity verification information

    POST https://finix.sandbox-payments-api.com/identities/

  2. Second, create a Payment Instrument representing the merchant’s bank account where processed funds will be settled (i.e. deposited)

    POST https://finix.sandbox-payments-api.com/payment_instruments/

  3. Finally, provision the Merchant account

    POST https://finix.sandbox-payments-api.com/identities/:IDENTITY_ID/merchants

Let’s start with the first step by creating an Identity resource. Each Identity represents either a person or a business. We use this resource to associate cards and payouts. This structure makes it simple to manage and reconcile payment instruments and payout history. Accounting of funds is done using the Identity so it’s recommended to have an Identity per recipient of funds. Additionally, the Identity resource is optionally used to collect KYC information.

You’ll want to store the ID of the newly created Identity resource for reference later.

HTTP Request

POST https://finix.sandbox-payments-api.com/identities

Business-specific Request Arguments

Field Type Description
business_name string, required Merchant’s full legal business name (If INDIVIDUAL_SOLE_PROPRIETORSHIP, please input first name, Full legal last name and middle initial; max 120 characters)
doing_business_as string, required Alternate name of the business. If no other name is used please use the same value for business_name (max 60 characters)
business_type string, required Please select one of the following values: INDIVIDUAL_SOLE_PROPRIETORSHIP, CORPORATION, LIMITED_LIABILITY_COMPANY, PARTNERSHIP, ASSOCIATION_ESTATE_TRUST, TAX_EXEMPT_ORGANIZATION, INTERNATIONAL_ORGANIZATION, GOVERNMENT_AGENCY
business_tax_id string, required Nine digit Tax Identification Number (TIN), Employer Identification Number (EIN) or if the business_type is INDIVIDUAL_SOLE_PROPRIETORSHIP and a Tax ID is not available, the principal’s Social Security Number (SSN)
url string, required Merchant’s publicly available website (max 100 characters)
business_phone string, required Customer service phone number where the merchant can be reached (max 10 characters)
incorporation_date object, required Date company was founded (See below for a full list of the child attributes)
business_address object, required Primary address for the legal entity (Full description of child attributes below)
ownership_type string, required Values can be either PUBLIC to indicate a publicly traded company or PRIVATE for privately held businesses
amex_mid integer, optional Assigned amexMid value. If provided must be 10 or 11 digits
discover_mid integer, optional Assigned discoverMid value

Principal-specific Request Arguments

(i.e. authorized representative or primary contact responsible for the account)

Field Type Description
first_name string, required Full legal first name of the merchant’s principal representative (max 20 characters)
last_name string, required Full legal last name of the merchant’s principal representative (max 20 characters)
title string, required Principal’s corporate title or role (i.e. Chief Executive Officer, CFO, etc.; max 60 characters)
principal_percentage_ownership integer, required Percentage of company owned by the principal (min 0; max 100)
tax_id string, required Nine digit Social Security Number (SSN) for the principal
dob object, required Principal’s date of birth (Full description of child attributes below)
phone string, required Principal’s phone number (max 10 characters)
email string, required Principal’s email address where they can be reached (max 100 characters)
personal_address object, required Principal’s personal home address. This field is used for identity verification purposes (Full description of child attributes below)

Processing-specific Request Arguments

Field Type Description
default_statement_descriptor string, required Billing descriptor displayed on the buyer’s bank or card statement (Length must be between 1 and 20 characters)
annual_card_volume integer, required Approximate annual credit card sales expected to be processed in cents by this merchant (max 23 characters)
max_transaction_amount integer, required Maximum amount that can be transacted for a single transaction in cents (max 12 characters)
mcc string, required Merchant Category Code (MCC) that this merchant will be classified under
has_accepted_credit_cards_previously boolean, optional Defaults to false if not passed

Address-object Request Arguments

Field Type Description
line1 string, required First line of the address (max 35 characters)
line2 string, optional Second line of the address (max 35 characters)
city string, required City (max 20 characters)
region string, required 2-letter State code
postal_code string, required Zip or Postal code (max 7 characters)
country string, required 3-Letter Country code

Incorporation Date-object Request Arguments

Field Type Description
day integer, required Day business was incorporated (between 1 and 31)
month integer, required Month business was incorporated (between 1 and 12)
year integer, required Year business was incorporated (4-digit)

DOB-object Request Arguments

Field Type Description
day integer, required Day of birth (between 1 and 31)
month integer, required Month of birth (between 1 and 12)
year integer, required Year of birth (4-digit)

Step 2: Tokenize a Bank Account for Funding your Merchant

curl https://finix.sandbox-payments-api.com/payment_instruments \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '
    {
        "account_type": "SAVINGS",
        "name": "Alice",
        "tags": {
            "Bank Account": "Company Account"
        },
        "country": "USA",
        "bank_code": "123123123",
        "account_number": "123123123",
        "type": "BANK_ACCOUNT",
        "identity": "IDpHEprvRCz6Sp4BGTEgsyKk"
    }'


Example Response:

{
  "id" : "PIcCY1r8aVEewyvsdurafsTH",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "fingerprint" : "FPRd5moHxL3Ltuvk4cczxetCg",
  "tags" : {
    "Bank Account" : "Company Account"
  },
  "bank_code" : "123123123",
  "country" : "USA",
  "masked_account_number" : "XXXXX3123",
  "name" : "Alice",
  "account_type" : "SAVINGS",
  "created_at" : "2021-07-28T18:24:59.45Z",
  "updated_at" : "2021-07-28T18:24:59.45Z",
  "instrument_type" : "BANK_ACCOUNT",
  "type" : "BANK_ACCOUNT",
  "currency" : "USD",
  "identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIcCY1r8aVEewyvsdurafsTH"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIcCY1r8aVEewyvsdurafsTH/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIcCY1r8aVEewyvsdurafsTH/transfers"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIcCY1r8aVEewyvsdurafsTH/verifications"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    }
  }
}

Now that we’ve created an Identity for our merchant, we’ll need to add a bank account where funds will be disbursed (i.e. their funding account).

In the API, bank accounts – as well as credit cards – are represented by the Payment Instrument resource.

To classify the Payment Instrument as a bank account you’ll need to pass BANK_ACCOUNT in the type field of your request, and you’ll also want to pass the ID of the Identity that you created in the last step via the identity field to properly associate it with your merchant.

HTTP Request

POST https://finix.sandbox-payments-api.com/payment_instruments

Request Arguments

Field Type Description
account_number string, required Bank account number
bank_code string, required Bank routing number
type string, required Type of Payment Instrument (for bank accounts use BANK_ACCOUNT)
identity string, required ID for the Identity resource which the account is associated
account_type string, required Either CHECKING or SAVINGS
name string, required Account owner’s full name (max 40 characters)

Step 3: Provision Merchant Account

curl https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/merchants \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '
    {
        "processor": null,
        "tags": {
            "key_2": "value_2"
        }
    }'

Example Response:

{
  "id" : "MUb37LGvcCV4sNdjyzuJZETx",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "verification" : "VIfpKHcgMrQxV16U4PVUMS9J",
  "merchant_profile" : "MPpwL8eRMwhtSvkM4mcEm1uE",
  "processor" : "DUMMY_V1",
  "processing_enabled" : true,
  "settlement_enabled" : true,
  "gross_settlement_enabled" : false,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : true,
  "card_cvv_required" : false,
  "tags" : {
    "key_2" : "value_2"
  },
  "mcc" : "0742",
  "mid" : "FNXcVXDyFAmWufsVXq2pkmrMZ",
  "merchant_name" : "Bobs Burgers",
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : null,
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:24:55.87Z",
  "updated_at" : "2021-07-28T18:24:56.37Z",
  "onboarding_state" : "APPROVED",
  "processor_details" : {
    "mid" : "FNXcVXDyFAmWufsVXq2pkmrMZ",
    "api_key" : "secretValue"
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUb37LGvcCV4sNdjyzuJZETx"
    },
    "identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUb37LGvcCV4sNdjyzuJZETx/verifications"
    },
    "merchant_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/merchant_profiles/MPpwL8eRMwhtSvkM4mcEm1uE"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "verification" : {
      "href" : "https://finix.sandbox-payments-api.com/verifications/VIfpKHcgMrQxV16U4PVUMS9J"
    }
  }
}

Now that we’ve associated a Payment Instrument with our seller’s Identity we’re ready to provision a Merchant account. This is the last step before you can begin processing on their behalf. Luckily you’ve already done most of the heavy lifting. Just make one final POST request, and you’ll be returned a Merchant resource. Take a second to inspect this newly created resource, particularly the onboarding_state, which can have 3 potential states that indicate its ability to process and settle funds:

  1. PROVISIONING: Request is pending (state will typically change after two minutes)

    • processing_enabled: False
    • settlement_enabled: False
  2. APPROVED: Merchant has been approved and can begin processing

    • processing_enabled: True
    • settlement_enabled: True
  3. REJECTED: Merchant was rejected by the processor either because the information collected was invalid or it failed one of a number of regulatory and/or compliance checks (e.g. KYC, OFAC or MATCH)

    • processing_enabled: False
    • settlement_enabled: False

HTTP Request

POST https://finix.sandbox-payments-api.com/identities/:IDENTITY_ID/merchants

URL Parameters

Parameter Description
:IDENTITY_ID ID of the Identity

Request Arguments

Field Type Description
processor string, required Name of the processor that you’re onboarding the Merchant with (a user can pass either null or DUMMY_V1 for sandbox)

Step 4: Create an Identity for a Buyer


curl https://finix.sandbox-payments-api.com/identities \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '
    {
        "tags": {
            "key": "value"
        },
        "entity": {
            "phone": "7145677613",
            "first_name": "Sean",
            "last_name": "Green",
            "email": "therock@gmail.com",
            "personal_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 7",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            }
        }
    }'

Example Response:

{
  "id" : "IDstGoxAgMtDaFam7bbhwsBn",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "entity" : {
    "title" : null,
    "first_name" : "Sean",
    "last_name" : "Green",
    "email" : "therock@gmail.com",
    "business_name" : null,
    "business_type" : null,
    "doing_business_as" : null,
    "phone" : "7145677613",
    "business_phone" : null,
    "personal_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 7",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "business_address" : null,
    "mcc" : null,
    "dob" : null,
    "max_transaction_amount" : 0,
    "amex_mid" : null,
    "discover_mid" : null,
    "url" : null,
    "annual_card_volume" : 0,
    "has_accepted_credit_cards_previously" : false,
    "incorporation_date" : null,
    "principal_percentage_ownership" : null,
    "short_business_name" : null,
    "ownership_type" : null,
    "tax_authority" : null,
    "tax_id_provided" : false,
    "business_tax_id_provided" : false,
    "default_statement_descriptor" : null
  },
  "tags" : {
    "key" : "value"
  },
  "created_at" : "2021-07-28T18:25:10.45Z",
  "updated_at" : "2021-07-28T18:25:10.45Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/verifications"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/merchants"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/settlements"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/transfers"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/payment_instruments"
    },
    "associated_identities" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/associated_identities"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/disputes"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

Now that we have successfully provisioned a Merchant we’ll need to create an Identity that represents your buyer. Don’t worry though you won’t need to capture the same amount of information from your buyer. So long as you don’t pass a business_type field all the fields are optional.

Typically, we suggest at least collecting the buyer’s name and email to help with accounting, reconciliation, and chargebacks.

HTTP Request

POST https://finix.sandbox-payments-api.com/identities

Request Arguments

Field Type Description
first_name string, optional First name
last_name string, optional Last name
email string, optional Email
phone string, optional Phone number
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)
personal_address object, optional Customers shipping address or billing address (Full description of child attributes below)

Address-object Request Arguments

Field Type Description
line1 string, required First line of the address (max 35 characters)
line2 string, optional Second line of the address (max 35 characters)
city string, required City (max 20 characters)
region string, required 2-letter State code
postal_code string, required Zip or Postal code (max 7 characters)
country string, required 3-Letter Country code

Step 5: Tokenize a Card



curl https://finix.sandbox-payments-api.com/payment_instruments \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '
    {
        "name": "Marcie Wade",
        "expiration_year": 2029,
        "tags": {
            "card_name": "Business Card"
        },
        "number": "4895142232120006",
        "expiration_month": 3,
        "address": {
            "city": "San Francisco",
            "region": "CA",
            "postal_code": "94404",
            "line1": "900 Metro Center Blv",
            "country": "USA"
        },
        "security_code": "022",
        "type": "PAYMENT_CARD",
        "identity": "IDstGoxAgMtDaFam7bbhwsBn"
    }'


Example Response:

{
  "id" : "PIqf952xmeuiF179wdMiPXrW",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "fingerprint" : "FPRogKWsRQks2HGaau5eGR9AF",
  "tags" : {
    "card_name" : "Business Card"
  },
  "expiration_month" : 3,
  "expiration_year" : 2029,
  "bin" : "489514",
  "last_four" : "0006",
  "brand" : "VISA",
  "card_type" : "UNKNOWN",
  "name" : "Marcie Wade",
  "address" : {
    "line1" : "900 Metro Center Blv",
    "line2" : null,
    "city" : "San Francisco",
    "region" : "CA",
    "postal_code" : "94404",
    "country" : "USA"
  },
  "address_verification" : "UNKNOWN",
  "security_code_verification" : "UNKNOWN",
  "created_at" : "2021-07-28T18:25:15.71Z",
  "updated_at" : "2021-07-28T18:25:15.71Z",
  "instrument_type" : "PAYMENT_CARD",
  "type" : "PAYMENT_CARD",
  "currency" : "USD",
  "identity" : "IDstGoxAgMtDaFam7bbhwsBn",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIqf952xmeuiF179wdMiPXrW"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIqf952xmeuiF179wdMiPXrW/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIqf952xmeuiF179wdMiPXrW/transfers"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIqf952xmeuiF179wdMiPXrW/verifications"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn"
    },
    "updates" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIqf952xmeuiF179wdMiPXrW/updates"
    }
  }
}

Now that we have an Identity resource representing our buyer, we’ll need to create a Payment Instrument which represents the credit card you’ll be debiting (i.e. charging).

You’ll also need to interpolate your own buyer’s Identity ID from the previous request to properly associate it.

Please review our guide on how to tokenize cards via the embedded tokenization form

HTTP Request

POST https://finix.sandbox-payments-api.com/payment_instruments

Request Arguments

Field Type Description
identity string, required ID of the Identity that the card should be associated
type string, required Type of Payment Instrument (for cards input PAYMENT_CARD)
number string, required Credit card account number
security_code string, optional The 3-4 digit security code for the card (i.e. CVV code)
expiration_month integer, required Expiration month (e.g. 12 for December)
expiration_year integer, required 4-digit expiration year
name string, optional Full name of the registered card holder
address object, optional Billing address (Full description of child attributes below)

Address-object Request Arguments

Field Type Description
line1 string, required First line of the address (max 35 characters)
line2 string, optional Second line of the address (max 35 characters)
city string, required City (max 20 characters)
region string, required 2-letter State code
postal_code string, required Zip or Postal code (max 7 characters)
country string, required 3-Letter Country code

Step 6: Create Sale

curl https://finix.sandbox-payments-api.com/transfers \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '
    {
        "merchant": "MUmMpVqaad7Va1YQR2soR3tq",
        "currency": "USD",
        "amount": 370744,
        "source": "PIqf952xmeuiF179wdMiPXrW",
        "tags": {
            "test": "sale"
        }
    }'

Example Response:

{
  "id" : "TR8Wr5goxT6noRqsxctikKFB",
  "amount" : 370744,
  "tags" : {
    "test" : "sale"
  },
  "state" : "PENDING",
  "trace_id" : "07727ae7-c89f-45d4-9a1d-22eb861344f1",
  "currency" : "USD",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "source" : "PIqf952xmeuiF179wdMiPXrW",
  "destination" : null,
  "ready_to_settle_at" : null,
  "fee" : 0,
  "statement_descriptor" : "FIN*LEES SANDWICHES",
  "type" : "DEBIT",
  "messages" : [ ],
  "raw" : null,
  "created_at" : "2021-07-28T18:25:57.06Z",
  "updated_at" : "2021-07-28T18:25:56.26Z",
  "idempotency_id" : null,
  "merchant_identity" : "IDnj7MkxQSuwpKjvB5NKNipc",
  "subtype" : "API",
  "_links" : {
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TR8Wr5goxT6noRqsxctikKFB"
    },
    "merchant_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TR8Wr5goxT6noRqsxctikKFB/payment_instruments"
    },
    "reversals" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TR8Wr5goxT6noRqsxctikKFB/reversals"
    },
    "fees" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TR8Wr5goxT6noRqsxctikKFB/fees"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TR8Wr5goxT6noRqsxctikKFB/disputes"
    },
    "source" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIqf952xmeuiF179wdMiPXrW"
    },
    "fee_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPrATYzpomaTRtdo2BssRoGx"
    }
  }
}

At this point we’ve created resources representing the merchant, the buyer, and the buyer’s card.

Next you’ll need to create a Transfer. To generate a Transfer we’ll supply the buyer’s Payment Instrument ID as the source field and the seller’s Merchant ID in the merchant field. Note that the amount field is in cents. These specific Transfers are distinguished by their type which return DEBIT.

Alternatively, a user can create an Authorization and then proceed to capture the Authorization in two API calls. This is useful when you’re looking to capture a specific amount on a card at a later date. You can find more information on Authorization’s flow.

Learn how to prevent duplicate transfers by passing an idempotency ID in the payload.

HTTP Request

POST https://finix.sandbox-payments-api.com/transfers

Request Arguments

Field Type Description
source string, required ID of the Payment Instrument that will be debited
merchant string, required Merchant ID of the merchant whom you’re charging on behalf of
amount integer, required The total amount that will be debited in cents (e.g. 100 cents to debit $1.00)
fee integer, optional The amount of the Transfer you would like to collect as your fee in cents. Defaults to zero (Must be less than or equal to the amount)
currency string, required 3-letter ISO code designating the currency of the Transfers (e.g. USD)processor
idempotency_id string, optional A randomly generated value that you want associated with the request
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)

Push-to-Card

Step 1: Create a Recipient Identity

curl https://finix.sandbox-payments-api.com/identities \
    -H "Content-Type: application/vnd.json+api" \
    -u UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "tags": {
            "key": "value"
        },
        "entity": {
            "phone": "7145677612",
            "first_name": "Ricardo",
            "last_name": "White",
            "email": "Ricardo@gmail.com",
            "personal_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 7",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            }
        }
    }'

Example Response:

{
  "id" : "IDbW447N4itVizGmsMCKyTb",
  "application" : "APgYRdVa9gjX3tpNBHDqU3qP",
  "entity" : {
    "title" : null,
    "first_name" : "Ricardo",
    "last_name" : "White",
    "email" : "Ricardo@gmail.com",
    "business_name" : null,
    "business_type" : null,
    "doing_business_as" : null,
    "phone" : "7145677612",
    "business_phone" : null,
    "personal_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 7",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "business_address" : null,
    "mcc" : null,
    "dob" : null,
    "max_transaction_amount" : 0,
    "amex_mid" : null,
    "discover_mid" : null,
    "url" : null,
    "annual_card_volume" : 0,
    "has_accepted_credit_cards_previously" : false,
    "incorporation_date" : null,
    "principal_percentage_ownership" : null,
    "short_business_name" : null,
    "ownership_type" : null,
    "tax_authority" : null,
    "tax_id_provided" : false,
    "business_tax_id_provided" : false,
    "default_statement_descriptor" : null
  },
  "tags" : {
    "key" : "value"
  },
  "created_at" : "2021-07-28T18:23:31.65Z",
  "updated_at" : "2021-07-28T18:23:31.65Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb/verifications"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb/merchants"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb/settlements"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb/transfers"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb/payment_instruments"
    },
    "associated_identities" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb/associated_identities"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb/disputes"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APgYRdVa9gjX3tpNBHDqU3qP"
    }
  }
}

Let’s start with the first step by creating an Identity resource. Each Identity represents either a person or a business. We use this resource to associate cards and payouts. This structure makes it simple to manage and reconcile payment instruments and payout history. Accounting of funds is done using the Identity so it’s recommended to have an Identity per recipient of funds. Additionally, the Identity resource is optionally used to collect KYC information.

HTTP Request

POST https://finix.sandbox-payments-api.com/identities

Request Arguments

Field Type Description
first_name string, optional First name
last_name string, optional Last name
email string, optional Email
phone string, optional Phone number
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)
personal_address object, optional Customers shipping address or billing address (Full description of child attributes below)

Address-object Request Arguments

Field Type Description
line1 string, optional First line of the address (max 35 characters)
line2 string, optional Second line of the address (max 35 characters)
city string, optional City (max 20 characters)
region string, optional 2-letter State code
postal_code string, optional Zip or Postal code (max 7 characters)
country string, optional 3-Letter Country code

Step 2: Add a Payment Instrument for the Recipient

curl https://finix.sandbox-payments-api.com/payment_instruments \
    -H "Content-Type: application/vnd.json+api" \
    -u UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "name": "Ayisha Diaz",
        "expiration_year": 2029,
        "tags": {
            "card_name": "Business Card"
        },
        "number": "4895142232120006",
        "expiration_month": 3,
        "address": {
            "city": "San Francisco",
            "region": "CA",
            "postal_code": "94404",
            "line1": "900 Metro Center Blv",
            "country": "USA"
        },
        "security_code": "022",
        "type": "PAYMENT_CARD",
        "identity": "IDbW447N4itVizGmsMCKyTb"
    }'

Example Response:

{
  "id" : "PIb6ZHPqVSzJVLz7gLvyvDDy",
  "application" : "APgYRdVa9gjX3tpNBHDqU3qP",
  "fingerprint" : "FPRogKWsRQks2HGaau5eGR9AF",
  "tags" : {
    "card_name" : "Business Card"
  },
  "expiration_month" : 3,
  "expiration_year" : 2029,
  "bin" : "489514",
  "last_four" : "0006",
  "brand" : "VISA",
  "card_type" : "UNKNOWN",
  "name" : "Ayisha Diaz",
  "address" : {
    "line1" : "900 Metro Center Blv",
    "line2" : null,
    "city" : "San Francisco",
    "region" : "CA",
    "postal_code" : "94404",
    "country" : "USA"
  },
  "address_verification" : "UNKNOWN",
  "security_code_verification" : "UNKNOWN",
  "created_at" : "2021-07-28T18:23:44.36Z",
  "updated_at" : "2021-07-28T18:23:44.36Z",
  "instrument_type" : "PAYMENT_CARD",
  "type" : "PAYMENT_CARD",
  "currency" : "USD",
  "identity" : "IDbW447N4itVizGmsMCKyTb",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIb6ZHPqVSzJVLz7gLvyvDDy"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIb6ZHPqVSzJVLz7gLvyvDDy/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIb6ZHPqVSzJVLz7gLvyvDDy/transfers"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIb6ZHPqVSzJVLz7gLvyvDDy/verifications"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APgYRdVa9gjX3tpNBHDqU3qP"
    },
    "identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb"
    },
    "updates" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIb6ZHPqVSzJVLz7gLvyvDDy/updates"
    }
  }
}

Now that we’ve created an Identity for our recipient, we’ll need to tokenize a payment card where funds will be disbursed.

In the API, payment cards are represented by the Payment Instrument resource.

To classify the Payment Instrument as a payment card you’ll need to pass PAYMENT_CARD in the type field of your request, and you’ll also want to pass the ID of the Identity that you created in the last step via the identity field to properly associate it with your recipient.

HTTP Request

POST https://finix.sandbox-payments-api.com/payment_instruments

Request Arguments

Field Type Description
identity string, required ID of the Identity that the card should be associated
type string, required Type of Payment Instrument (for cards input PAYMENT_CARD)
number string, required Primary card account number
security_code string, optional The 3-4 digit security code for the card (i.e. CVV code)
expiration_month integer, required Expiration month (e.g. 12 for December)
expiration_year integer, required 4-digit expiration year
currency string, required Currency that should be associated with card
name string, optional Full name of the registered card holder
address object, optional Billing address (Full description of child attributes below)

Address-object Request Arguments

Field Type Description
line1 string, optional First line of the address (max 20 characters)
line2 string, optional Second line of the address (max 35 characters)
city string, optional City (max 20 characters)
region string, optional 2-letter State code
postal_code string, optional Zip or Postal code (max 7 characters)
country string, optional 3-Letter Country code

Step 3: Verify card is eligible to receive push-to-card disbursements

Now that we’ve associated a payment instrument to a recipient, we’ll need to verify whether or not the card is eligible to receive push-to-card disbursements. How? By making a request to the Verifications endpoint. The returned Verification resource returns a set of general attributes and details about the card in question (e.g. card type, issuer information). For example, the inquiry_details object will contain a push_funds_block_indicator attribute that indicates if it is eligible for push-to-card disbursements. Below you’ll see a number of fields and the potential responses.

curl https://finix.sandbox-payments-api.com/payment_instruments/PIribJS8ojEP2Zvube3NkBVk/verifications \
    -H "Content-Type: application/vnd.json+api" \
    -u UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "processor": "VISA_V1"
    }'

Example Response:

{
  "id" : "VIhQP1hMafeJMY6yB8eWo8Q7",
  "application" : "APgYRdVa9gjX3tpNBHDqU3qP",
  "tags" : { },
  "messages" : [ ],
  "raw" : {
    "validation_details" : {
      "systems_trace_audit_number" : "120918206548",
      "error_result" : null,
      "transaction_identifier" : "161382588195445",
      "approval_code" : null,
      "action_code" : "25",
      "response_code" : "5",
      "address_verification_results" : "I",
      "cvv2_result_code" : "P"
    },
    "inquiry_details" : {
      "systems_trace_audit_number" : "120918206548",
      "error_result" : null,
      "visa_network_info" : [ {
        "card_type_code" : "D",
        "billing_currency_code" : 840,
        "billing_currency_minor_digits" : 2,
        "issuer_name" : "Visa Test Bank",
        "card_issuer_country_code" : 840,
        "fast_funds_indicator" : "D",
        "push_funds_block_indicator" : "C",
        "online_gambing_block_indicator" : "N"
      } ],
      "ppgs_network_info" : [ ]
    },
    "general_inquiry_details" : {
      "systems_trace_audit_number" : "120918206548",
      "error_result" : null,
      "card_product_id" : "B",
      "card_product_name" : "Visa Traditional Rewards",
      "card_product_subtype_code" : "",
      "card_product_subtype_description" : "",
      "card_type_code" : "C",
      "card_subtype_code" : "",
      "card_platform_code" : "CN",
      "issuer_name" : "BANCO AGROMERCANTIL DE GUATEMALA S.A.",
      "bin" : "481507",
      "country_code" : "320",
      "status" : {
        "status_code" : "CDI000",
        "status_description" : "Success"
      }
    }
  },
  "processor" : "VISA_V1",
  "state" : "SUCCEEDED",
  "created_at" : "2021-07-28T18:27:32.14Z",
  "updated_at" : "2021-07-28T18:27:34.11Z",
  "trace_id" : "120918206548",
  "payment_instrument" : "PIribJS8ojEP2Zvube3NkBVk",
  "merchant" : null,
  "identity" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/verifications/VIhQP1hMafeJMY6yB8eWo8Q7"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APgYRdVa9gjX3tpNBHDqU3qP"
    },
    "payment_instrument" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIribJS8ojEP2Zvube3NkBVk"
    }
  }
}

HTTP Request

POST https://finix.sandbox-payments-api.com/payment_instruments/:PAYMENT_INSTRUMENT_ID/verifications

URL Parameters

Parameter Description
:PAYMENT_INSTRUMENT_ID ID of the Payment Instrument

Request Arguments

Field Type Description
processor string, required The name of the processor, which needs to be: VISA_V1
country string, optional 3-Letter Country code. This attribute is currently only applicable for our Latin America partners.

Address Verification Results (address_verification_results)

Letter Description
D, F, M, Y Address verified
A, B, C, G, I, N, P, R, S, U, W Address not verified
Z Postal/ZIP match, street addresses do not match or street address not included in request

Card Verification 2 Results (cvv2_result_code)

Letter Description
M CVV and expiration verified
N, P, S Either CVV or expiration date is incorrect
U Issuer does not participate in CVV2 service

Card Type (card_type_code)

This one-character code indicates whether the account is credit, debit, prepaid, deferred debit, or charge.

Letter Description
C Credit
D Debit
H Charge Card
P Prepaid
R Deferred Debit

Fasts Funds Indicator (fast_funds_indicator)

Indicates whether or not the card is Fast Funds eligible (i.e. if the funds will settle in 30 mins or less). If not eligible, typically funds will settle within 2 business days.

Letter Description
B Fast Funds eligible for all transactions
D Fast Funds eligible for only domestic transactions
N Not eligible for Fast Funds

Push Funds Indicator (push_funds_block_indicator)

This code indicates if the associated card can receive push-to-card disbursements.

Letter Description
A, B, C Accepts push-to-card payments
N Does not accept push-to-card payments

Online Gambling Block Indicator (online_gambing_block_indicator)

Indicates if the card can receive push-payments for online gambling payouts.

Letter Description
Y Blocked for online gambling payouts
N Not blocked for online gambling payouts

Card Product ID (card_product_id)

A combination of card brand, platform, class and scheme.

Letter Description
A Visa Traditional
AX American Express
B Visa Traditional Rewards
C Visa Signature
D Visa Signature Preferred
DI Discover
DN Diners
E Proprietary ATM
F Visa Classic
G Visa Business
G1 Visa Signature Business
G2 Visa Business Check Card
G3 Visa Business Enhanced
G4 Visa Infinite Business
G5 Visa Business Rewards
I Visa Infinite
I1 Visa Infinite Privilege
I2 Visa UHNW
J3 Visa Healthcare
JC JCB
K Visa Corporate T&E
K1 Visa Government Corporate T&E
L Visa Electron
M MasterCard
N Visa Platinum
N1 Visa Rewards
N2 Visa Select
P Visa Gold
Q Private Label
Q1 Private Label Prepaid
Q2 Private Label Basic
Q3 Private Label Standard
Q4 Private Label Enhanced
Q5 Private Label Specialized
Q6 Private Label Premium
R Proprietary
S Visa Purchasing
S1 Visa Purchasing with Fleet
S2 Visa Government Purchasing
S3 Visa Government Purchasing with Fleet
S4 Visa Commercial Agriculture
S5 Visa Commercial Transport
S6 Visa Commercial Marketplace
U Visa Travel Money
V Visa V PAY

Product Sub-Type (card_product_subtype)

Description of product subtype.

Letter Description
AC Agriculture Maintenance Account
AE Agriculture Debit Account/Electron
AG Agriculture
AI Agriculture Investment Loan
CG Brazil Cargo
CS Construction
DS Distribution
HC Healthcare
LP Visa Large Purchase Advantage
MA Visa Mobile Agent
MB Interoperable Mobile Branchless Banking
MG Visa Mobile General
VA Visa Vale - Supermarket
VF Visa Vale - Fuel
VR Visa Vale - Restaurant

Card Sub-Type (card_subtype_code)

The code for account funding source subtype, such as reloadable and non-reloadable.

Letter Description
N Non-Reloadable
R Reloadable

Step 4: Provision Recipient Account

curl https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb/merchants \
    -H "Content-Type: application/vnd.json+api" \
    -u UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "processor": "VISA_V1"
    }'

Example Response:

{
  "id" : "MUkiRn1smP2gUyTciJzxve9G",
  "application" : "APgYRdVa9gjX3tpNBHDqU3qP",
  "identity" : "IDbW447N4itVizGmsMCKyTb",
  "verification" : "VIhoRDqKdZjZqQLTLFerzViM",
  "merchant_profile" : "MPgnGgP8pJyQSfBQB514Nipk",
  "processor" : "VISA_V1",
  "processing_enabled" : true,
  "settlement_enabled" : true,
  "gross_settlement_enabled" : false,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : true,
  "card_cvv_required" : false,
  "tags" : { },
  "mcc" : null,
  "mid" : null,
  "merchant_name" : "Ricardo White",
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : null,
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:24:02.44Z",
  "updated_at" : "2021-07-28T18:24:02.89Z",
  "onboarding_state" : "APPROVED",
  "processor_details" : { },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUkiRn1smP2gUyTciJzxve9G"
    },
    "identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUkiRn1smP2gUyTciJzxve9G/verifications"
    },
    "merchant_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/merchant_profiles/MPgnGgP8pJyQSfBQB514Nipk"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APgYRdVa9gjX3tpNBHDqU3qP"
    },
    "verification" : {
      "href" : "https://finix.sandbox-payments-api.com/verifications/VIhoRDqKdZjZqQLTLFerzViM"
    }
  }
}

Now that we’ve associated a Payment Instrument with our recipient’s Identity we’re ready to provision a Recipient account. This is the last step before you can begin paying out an Identity. Luckily you’ve already done most of the heavy lifting. Just make one final POST request, and you’ll be returned a Merchant resource.

HTTP Request

POST https://finix.sandbox-payments-api.com/identities/identityID/merchants

Request Arguments

Field Type Description
processor string, optional Name of Processor

Step 5: Send Payout

curl https://finix.sandbox-payments-api.com/transfers \
    -H "Content-Type: application/vnd.json+api" \
    -u UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "currency": "USD",
        "amount": 1510,
        "destination": "PIb6ZHPqVSzJVLz7gLvyvDDy",
        "tags": {
            "order_number": "21DFASJSAKAS"
        }
    }'

Example Response:

{
  "id" : "TRaSNsPevfJKRCa1gqScSnN",
  "amount" : 1510,
  "tags" : {
    "order_number" : "21DFASJSAKAS"
  },
  "state" : "SUCCEEDED",
  "trace_id" : "120918206545",
  "currency" : "USD",
  "application" : "APgYRdVa9gjX3tpNBHDqU3qP",
  "source" : null,
  "destination" : "PIb6ZHPqVSzJVLz7gLvyvDDy",
  "ready_to_settle_at" : null,
  "fee" : 0,
  "statement_descriptor" : null,
  "type" : "CREDIT",
  "messages" : [ ],
  "raw" : null,
  "created_at" : "2021-07-28T18:24:11.52Z",
  "updated_at" : "2021-07-28T18:24:12.60Z",
  "idempotency_id" : null,
  "merchant_identity" : "IDbW447N4itVizGmsMCKyTb",
  "subtype" : "API",
  "_links" : {
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APgYRdVa9gjX3tpNBHDqU3qP"
    },
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRaSNsPevfJKRCa1gqScSnN"
    },
    "merchant_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRaSNsPevfJKRCa1gqScSnN/payment_instruments"
    },
    "reversals" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRaSNsPevfJKRCa1gqScSnN/reversals"
    },
    "fees" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRaSNsPevfJKRCa1gqScSnN/fees"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRaSNsPevfJKRCa1gqScSnN/disputes"
    },
    "destination" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIb6ZHPqVSzJVLz7gLvyvDDy"
    },
    "fee_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPrATYzpomaTRtdo2BssRoGx"
    }
  }
}

Now the final step - time to payout the recipient!

Next you’ll need to create a Transfer. What’s a Transfer? Glad you asked! A Transfer represents any flow of funds either to or from a Payment Instrument. In this case a Payout to a card.

To create a Transfer we’ll simply supply the Payment Instrument ID of the previously tokenized card as the destination field. Also, be sure to note that the amount field is in cents.

Simple enough, right? You’ll also want to store the ID from that Transfer for your records. Transfers can have two possible states SUCCEEDED and FAILED.

HTTP Request

POST https://finix.sandbox-payments-api.com/transfers

Request Arguments

Field Type Description
destination string, required ID of the Payment Instrument where funds will be sent
amount integer, required The total amount that will be charged in cents (e.g. 100 cents to charge $1.00)
currency string, required 3-letter ISO code designating the currency of the Transfers (e.g. USD)
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)
country string, optional 3-Letter Country code. This attribute is currently only applicable for our Latin America partners.

Pull-from-Card

Step 1: Create a Sender Identity

curl https://finix.sandbox-payments-api.com/identities \
    -H "Content-Type: application/vnd.json+api" \
    -u UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "tags": {
            "key": "value"
        },
        "entity": {
            "phone": "7145677612",
            "first_name": "Jim",
            "last_name": "Chang",
            "email": "Jim@gmail.com",
            "personal_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 7",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            }
        }
    }'

Example Response:

{
  "id" : "ID2UeQDh42Cyvrw9iN9gaezk",
  "application" : "APgYRdVa9gjX3tpNBHDqU3qP",
  "entity" : {
    "title" : null,
    "first_name" : "Jim",
    "last_name" : "Chang",
    "email" : "Jim@gmail.com",
    "business_name" : null,
    "business_type" : null,
    "doing_business_as" : null,
    "phone" : "7145677612",
    "business_phone" : null,
    "personal_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 7",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "business_address" : null,
    "mcc" : null,
    "dob" : null,
    "max_transaction_amount" : 0,
    "amex_mid" : null,
    "discover_mid" : null,
    "url" : null,
    "annual_card_volume" : 0,
    "has_accepted_credit_cards_previously" : false,
    "incorporation_date" : null,
    "principal_percentage_ownership" : null,
    "short_business_name" : null,
    "ownership_type" : null,
    "tax_authority" : null,
    "tax_id_provided" : false,
    "business_tax_id_provided" : false,
    "default_statement_descriptor" : null
  },
  "tags" : {
    "key" : "value"
  },
  "created_at" : "2021-07-28T18:23:36.25Z",
  "updated_at" : "2021-07-28T18:23:36.25Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2UeQDh42Cyvrw9iN9gaezk"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2UeQDh42Cyvrw9iN9gaezk/verifications"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2UeQDh42Cyvrw9iN9gaezk/merchants"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2UeQDh42Cyvrw9iN9gaezk/settlements"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2UeQDh42Cyvrw9iN9gaezk/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2UeQDh42Cyvrw9iN9gaezk/transfers"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2UeQDh42Cyvrw9iN9gaezk/payment_instruments"
    },
    "associated_identities" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2UeQDh42Cyvrw9iN9gaezk/associated_identities"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2UeQDh42Cyvrw9iN9gaezk/disputes"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APgYRdVa9gjX3tpNBHDqU3qP"
    }
  }
}

Let’s start with the first step by creating an Identity resource. Each Identity represents either a person or a business. We use this resource to associate cards and payouts. This structure makes it simple to manage and reconcile payment instruments and payout history. Accounting of funds is done using the Identity so it’s recommended to have an Identity per recipient of funds. Additionally, the Identity resource is optionally used to collect KYC information.

HTTP Request

POST https://finix.sandbox-payments-api.com/identities

Request Arguments

Field Type Description
first_name string, optional First name
last_name string, optional Last name
email string, optional Email
phone string, optional Phone number
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)
personal_address object, optional Customers shipping address or billing address (Full description of child attributes below)

Address-object Request Arguments

Field Type Description
line1 string, optional First line of the address (max 35 characters)
line2 string, optional Second line of the address (max 35 characters)
city string, optional City (max 20 characters)
region string, optional 2-letter State code
postal_code string, optional Zip or Postal code (max 7 characters)
country string, optional 3-Letter Country code

Step 2: Add a Payment Instrument for the Sender

curl https://finix.sandbox-payments-api.com/payment_instruments \
    -H "Content-Type: application/vnd.json+api" \
    -u UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "name": "Amy Serna",
        "expiration_year": 2029,
        "tags": {
            "card_name": "Business Card"
        },
        "number": "4895142232120006",
        "expiration_month": 3,
        "address": {
            "city": "San Francisco",
            "region": "CA",
            "postal_code": "94404",
            "line1": "900 Metro Center Blv",
            "country": "USA"
        },
        "security_code": "022",
        "type": "PAYMENT_CARD",
        "identity": "ID2UeQDh42Cyvrw9iN9gaezk"
    }'

Example Response:

{
  "id" : "PIa2qcZjdFpDK5fowhfyTq4Z",
  "application" : "APgYRdVa9gjX3tpNBHDqU3qP",
  "fingerprint" : "FPRogKWsRQks2HGaau5eGR9AF",
  "tags" : {
    "card_name" : "Business Card"
  },
  "expiration_month" : 3,
  "expiration_year" : 2029,
  "bin" : "489514",
  "last_four" : "0006",
  "brand" : "VISA",
  "card_type" : "UNKNOWN",
  "name" : "Amy Serna",
  "address" : {
    "line1" : "900 Metro Center Blv",
    "line2" : null,
    "city" : "San Francisco",
    "region" : "CA",
    "postal_code" : "94404",
    "country" : "USA"
  },
  "address_verification" : "UNKNOWN",
  "security_code_verification" : "UNKNOWN",
  "created_at" : "2021-07-28T18:23:54.87Z",
  "updated_at" : "2021-07-28T18:23:54.87Z",
  "instrument_type" : "PAYMENT_CARD",
  "type" : "PAYMENT_CARD",
  "currency" : "USD",
  "identity" : "ID2UeQDh42Cyvrw9iN9gaezk",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIa2qcZjdFpDK5fowhfyTq4Z"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIa2qcZjdFpDK5fowhfyTq4Z/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIa2qcZjdFpDK5fowhfyTq4Z/transfers"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIa2qcZjdFpDK5fowhfyTq4Z/verifications"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APgYRdVa9gjX3tpNBHDqU3qP"
    },
    "identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2UeQDh42Cyvrw9iN9gaezk"
    },
    "updates" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIa2qcZjdFpDK5fowhfyTq4Z/updates"
    }
  }
}

Now that we’ve created an Identity for our sender, we’ll need to tokenize a payment card where funds will be pulled from.

In the API, payment cards are represented by the Payment Instrument resource.

To classify the Payment Instrument as a payment card you’ll need to pass PAYMENT_CARD in the type field of your request, and you’ll also want to pass the ID of the Identity that you created in the last step via the identity field to properly associate it with your sender.

HTTP Request

POST https://finix.sandbox-payments-api.com/payment_instruments

Request Arguments

Field Type Description
identity string, required ID of the Identity that the card should be associated
type string, required Type of Payment Instrument (for cards input PAYMENT_CARD)
number string, required Primary card account number
security_code string, optional The 3-4 digit security code for the card (i.e. CVV code)
expiration_month integer, required Expiration month (e.g. 12 for December)
expiration_year integer, required 4-digit expiration year
name string, optional Full name of the registered card holder
currency string, required 3-letter ISO code designating the currency of the Payment Instruments (e.g. USD, CAD)
address object, optional Billing address (Full description of child attributes below)

Address-object Request Arguments

Field Type Description
line1 string, optional First line of the address
line2 string, optional Second line of the address
city string, required City
region string, optional 2-letter State code
postal_code string, optional Zip or Postal code
country string, optional 3-Letter Country code

Step 3: Verify Address Verification System (AVS) and CVV

Now that we’ve associated a payment instrument to a sender, we have the ability to verify whether or not the card has passed AVS and CVV checks. How? By making a request to the Verifications endpoint. The returned Verification resource returns a set of general attributes and details about the card in question (e.g. card type, issuer information). Below you’ll see a number of fields and the potential responses.

curl https://finix.sandbox-payments-api.com/payment_instruments/PIb6ZHPqVSzJVLz7gLvyvDDy/verifications \
    -H "Content-Type: application/vnd.json+api" \
    -u UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "processor": "VISA_V1"
    }'

Example Response:

{
  "id" : "VIhQP1hMafeJMY6yB8eWo8Q7",
  "application" : "APgYRdVa9gjX3tpNBHDqU3qP",
  "tags" : { },
  "messages" : [ ],
  "raw" : {
    "validation_details" : {
      "systems_trace_audit_number" : "120918206548",
      "error_result" : null,
      "transaction_identifier" : "161382588195445",
      "approval_code" : null,
      "action_code" : "25",
      "response_code" : "5",
      "address_verification_results" : "I",
      "cvv2_result_code" : "P"
    },
    "inquiry_details" : {
      "systems_trace_audit_number" : "120918206548",
      "error_result" : null,
      "visa_network_info" : [ {
        "card_type_code" : "D",
        "billing_currency_code" : 840,
        "billing_currency_minor_digits" : 2,
        "issuer_name" : "Visa Test Bank",
        "card_issuer_country_code" : 840,
        "fast_funds_indicator" : "D",
        "push_funds_block_indicator" : "C",
        "online_gambing_block_indicator" : "N"
      } ],
      "ppgs_network_info" : [ ]
    },
    "general_inquiry_details" : {
      "systems_trace_audit_number" : "120918206548",
      "error_result" : null,
      "card_product_id" : "B",
      "card_product_name" : "Visa Traditional Rewards",
      "card_product_subtype_code" : "",
      "card_product_subtype_description" : "",
      "card_type_code" : "C",
      "card_subtype_code" : "",
      "card_platform_code" : "CN",
      "issuer_name" : "BANCO AGROMERCANTIL DE GUATEMALA S.A.",
      "bin" : "481507",
      "country_code" : "320",
      "status" : {
        "status_code" : "CDI000",
        "status_description" : "Success"
      }
    }
  },
  "processor" : "VISA_V1",
  "state" : "SUCCEEDED",
  "created_at" : "2021-07-28T18:27:32.14Z",
  "updated_at" : "2021-07-28T18:27:34.11Z",
  "trace_id" : "120918206548",
  "payment_instrument" : "PIribJS8ojEP2Zvube3NkBVk",
  "merchant" : null,
  "identity" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/verifications/VIhQP1hMafeJMY6yB8eWo8Q7"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APgYRdVa9gjX3tpNBHDqU3qP"
    },
    "payment_instrument" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIribJS8ojEP2Zvube3NkBVk"
    }
  }
}

HTTP Request

POST https://finix.sandbox-payments-api.com/payment_instruments/:PAYMENT_INSTRUMENT_ID/verifications

URL Parameters

Parameter Description
:PAYMENT_INSTRUMENT_ID ID of the Payment Instrument

Request Arguments

Field Type Description
processor string, required The name of the processor, which needs to be: VISA_V1
country string, optional 3-Letter Country code. This attribute is currently only applicable for our Latin America partners.

Address Verification Results (address_verification_results)

Letter Description
D, F, M, Y Address verified
A, B, C, G, I, N, P, R, S, U, W Address not verified
Z Postal/ZIP match, street addresses do not match or street address not included in request

Card Verification 2 Results (cvv2_result_code)

Letter Description
M CVV and expiration verified
N, P, S Either CVV or expiration date is incorrect
U Issuer does not participate in CVV2 service

Card Type (card_type_code)

This one-character code indicates whether the account is credit, debit, prepaid, deferred debit, or charge.

Letter Description
C Credit
D Debit
H Charge Card
P Prepaid
R Deferred Debit

Fasts Funds Indicator (fast_funds_indicator)

Indicates whether or not the card is Fast Funds eligible (i.e. if the funds will settle in 30 mins or less). If not eligible, typically funds will settle within 2 business days.

Letter Description
B Fast Funds eligible for all transactions
D Fast Funds eligible for only domestic transactions
N Not eligible for Fast Funds

Push Funds Indicator (push_funds_block_indicator)

This code indicates if the associated card can receive push-to-card disbursements.

Letter Description
A, B, C Accepts push-to-card payments
N Does not accept push-to-card payments

Online Gambling Block Indicator (online_gambing_block_indicator)

Indicates if the card can receive push-payments for online gambling payouts.

Letter Description
Y Blocked for online gambling payouts
N Not blocked for online gambling payouts

Card Product ID (card_product_id)

A combination of card brand, platform, class and scheme.

Letter Description
A Visa Traditional
AX American Express
B Visa Traditional Rewards
C Visa Signature
D Visa Signature Preferred
DI Discover
DN Diners
E Proprietary ATM
F Visa Classic
G Visa Business
G1 Visa Signature Business
G2 Visa Business Check Card
G3 Visa Business Enhanced
G4 Visa Infinite Business
G5 Visa Business Rewards
I Visa Infinite
I1 Visa Infinite Privilege
I2 Visa UHNW
J3 Visa Healthcare
JC JCB
K Visa Corporate T&E
K1 Visa Government Corporate T&E
L Visa Electron
M MasterCard
N Visa Platinum
N1 Visa Rewards
N2 Visa Select
P Visa Gold
Q Private Label
Q1 Private Label Prepaid
Q2 Private Label Basic
Q3 Private Label Standard
Q4 Private Label Enhanced
Q5 Private Label Specialized
Q6 Private Label Premium
R Proprietary
S Visa Purchasing
S1 Visa Purchasing with Fleet
S2 Visa Government Purchasing
S3 Visa Government Purchasing with Fleet
S4 Visa Commercial Agriculture
S5 Visa Commercial Transport
S6 Visa Commercial Marketplace
U Visa Travel Money
V Visa V PAY

Product Sub-Type (card_product_subtype)

Description of product subtype.

Letter Description
AC Agriculture Maintenance Account
AE Agriculture Debit Account/Electron
AG Agriculture
AI Agriculture Investment Loan
CG Brazil Cargo
CS Construction
DS Distribution
HC Healthcare
LP Visa Large Purchase Advantage
MA Visa Mobile Agent
MB Interoperable Mobile Branchless Banking
MG Visa Mobile General
VA Visa Vale - Supermarket
VF Visa Vale - Fuel
VR Visa Vale - Restaurant

Card Sub-Type (card_subtype_code)

The code for account funding source subtype, such as reloadable and non-reloadable.

Letter Description
N Non-Reloadable
R Reloadable

Step 4: Provision a Sender Account

curl https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb/merchants \
    -H "Content-Type: application/vnd.json+api" \
    -u UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "processor": "VISA_V1"
    }'

Example Response:

{
  "id" : "MUkiRn1smP2gUyTciJzxve9G",
  "application" : "APgYRdVa9gjX3tpNBHDqU3qP",
  "identity" : "IDbW447N4itVizGmsMCKyTb",
  "verification" : "VIhoRDqKdZjZqQLTLFerzViM",
  "merchant_profile" : "MPgnGgP8pJyQSfBQB514Nipk",
  "processor" : "VISA_V1",
  "processing_enabled" : true,
  "settlement_enabled" : true,
  "gross_settlement_enabled" : false,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : true,
  "card_cvv_required" : false,
  "tags" : { },
  "mcc" : null,
  "mid" : null,
  "merchant_name" : "Ricardo White",
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : null,
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:24:02.44Z",
  "updated_at" : "2021-07-28T18:24:02.89Z",
  "onboarding_state" : "APPROVED",
  "processor_details" : { },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUkiRn1smP2gUyTciJzxve9G"
    },
    "identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDbW447N4itVizGmsMCKyTb"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUkiRn1smP2gUyTciJzxve9G/verifications"
    },
    "merchant_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/merchant_profiles/MPgnGgP8pJyQSfBQB514Nipk"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APgYRdVa9gjX3tpNBHDqU3qP"
    },
    "verification" : {
      "href" : "https://finix.sandbox-payments-api.com/verifications/VIhoRDqKdZjZqQLTLFerzViM"
    }
  }
}

Now that we’ve associated a Payment Instrument with the sender’s Identity we’re ready to provision a Sender account. This is the last step before you can begin pulling from an Identity. Luckily you’ve already done most of the heavy lifting. Just make one final POST request, and you’ll be returned a Merchant resource.

HTTP Request

POST https://finix.sandbox-payments-api.com/identities/identityID/merchants

Request Arguments

Field Type Description
processor string, optional Name of Processor

Step 5: Pull Funds

curl https://finix.sandbox-payments-api.com/transfers \
    -H "Content-Type: application/vnd.json+api" \
    -u UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "currency": "USD",
        "amount": 20000,
        "source": "PIa2qcZjdFpDK5fowhfyTq4Z",
        "operation_key": "PULL_FROM_CARD",
        "tags": {
            "order_number": "21DFASJSAKAS"
        }
    }'

Example Response:

{
  "id" : "TRwu5wvWCgsTox4Dn7GWwEC",
  "amount" : 20000,
  "tags" : {
    "order_number" : "21DFASJSAKAS"
  },
  "state" : "SUCCEEDED",
  "trace_id" : "120918206546",
  "currency" : "USD",
  "application" : "APgYRdVa9gjX3tpNBHDqU3qP",
  "source" : "PIa2qcZjdFpDK5fowhfyTq4Z",
  "destination" : null,
  "ready_to_settle_at" : null,
  "fee" : 0,
  "statement_descriptor" : null,
  "type" : "DEBIT",
  "messages" : [ ],
  "raw" : null,
  "created_at" : "2021-07-28T18:24:16.34Z",
  "updated_at" : "2021-07-28T18:24:10.35Z",
  "idempotency_id" : null,
  "merchant_identity" : "IDazfHJFgAcgfhAV2rK6H6ob",
  "subtype" : "API",
  "_links" : {
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APgYRdVa9gjX3tpNBHDqU3qP"
    },
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRwu5wvWCgsTox4Dn7GWwEC"
    },
    "merchant_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDazfHJFgAcgfhAV2rK6H6ob"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRwu5wvWCgsTox4Dn7GWwEC/payment_instruments"
    },
    "reversals" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRwu5wvWCgsTox4Dn7GWwEC/reversals"
    },
    "fees" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRwu5wvWCgsTox4Dn7GWwEC/fees"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRwu5wvWCgsTox4Dn7GWwEC/disputes"
    },
    "source" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIa2qcZjdFpDK5fowhfyTq4Z"
    },
    "fee_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPrATYzpomaTRtdo2BssRoGx"
    }
  }
}

Now it’s time to pull funds from the sender.

Next you’ll need to create a Transfer. What’s a Transfer? Glad you asked! A Transfer represents any flow of funds either to or from a Payment Instrument. In this case we are pulling from a card.

To create a Transfer we’ll simply supply the Payment Instrument ID of the previously tokenized card as the source field. In addition, you’ll pass the an operational key which describes the action that you’re taking.

You’ll also want to store the ID from that Transfer for your records. Transfers can have two possible states SUCCEEDED and FAILED.

HTTP Request

POST https://finix.sandbox-payments-api.com/transfers

Request Arguments

Field Type Description
source string, required ID of the Payment Instrument where funds will be pulled from
amount integer, required The total amount that will be charged in cents (e.g. 100 cents to charge $1.00)
currency string, required 3-letter ISO code designating the currency of the Transfers (e.g. USD, CAD)
operation_key string, required PULL_FROM_CARD
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)
country string, optional 3-Letter Country code. This attribute is currently only applicable for our Latin America partners.

Tokenization with Hosted Fields

Library summary

The PaymentForm library is a javascript library that allows you secure your sensitive credit and debit card data. By having the end-user input their data into an iFrame, it prevents third-parties from accessing the information.

Once the fields are initialized the library communicates the state of the fields through a JavaScript callback. The state object includes information about the validity, focused value and if the user has entered information in the field.

For a complete example of how to use the library please refer to this jsFiddle example.

Step 1: Include library and desired HTML elements

 <script type="text/javascript" src="https://forms.finixpymnts.com/finix.js"></script>

First we’ll need to include the library on the webpage where you’re hosting your form. Please include the script as demonstrated to the right.

Step 2: Initialize the payment form

window.PaymentForm.card(function(state, binInformation)-> PaymentForm



const paymentForm = window.PaymentForm.card(function(state, binInformation){
     // Logic for interacting with form's potential states (see jsFiddle for  example)
});

The next step is to configure the library. This “card” method is the single entry point into the library. It initializes and returns a PaymentForm object that contains fields(i.e. name, number, expiration date, and CVV).

Step 3: Define input fields and configure styling

Now that we have a PaymentForm object we’ll want to style it

DefineField Arguments

Field Type Description
elementId string, required Name of HTML id
type string, required API attribute name that will be sent in the payload
placeholder string, required What the user will see in the input field
validations string, optional This allows customers to make a field required. The possible values are required, cardExpiry, cardNumber, and cardCVC. Each of the possible values returns a different error message when the required field is not present.
  • required returns ‘Value is required’.
  • cardExpiry returns 'Invalid expiration date’.
  • cardNumber returns 'Invalid card number’.
  • cardCVC returns 'Invalid CVV’.
autoComplete string, optional This allows the specified fields to auto-complete from saved card information. The possible values are: cc-number, cc-name, cc-exp, cc-csc, address-line1, address-line2, address-level1, postal-code, address-level2.
function defineField(elementId, type, placeholder, validations, autoComplete) {
 // call field method with desired css styling
 const f = form.field(type, {
        validations,
        placeholder: { text: placeholder, hideOnFocus: true },
        autoComplete,
        styles: {
          default: {
            color: "black",
          },
          success: {
            color: '#5cb85c',
          },
          error: {
            color: '#d9534f',
          },
        }
      });
  // appends each field wrapper (that contains placeholder and styles) to the appropriate div
  document.getElementById(elementId).appendChild(f);
}

defineField("field-wrapper-number", "number", '4111 1111 1111 1111');
defineField("field-wrapper-name", "name", 'Bo Jackson');
defineField("field-wrapper-expiration_date", "expiration_date", '02/2020');
defineField("field-wrapper-security_code", "security_code", '411');

Step 4: Submit payload and handle response

Form#submit(environment, applicationID, callback)-> Form


/*
Form#submit(environment, applicationID, callback)-> Form
*/

function submitForm() {
  // sandbox or production for environment
  form.submit('sandbox', APkSa6G63hcfYPak632WZ97m, function(err, res) {
    if (err) {
      console.log("There was an error");
    }
    // shows id of tokenized payment card
    document.getElementById('preview').innerHTML = JSON.stringify(res, null, '  ');
  })
}

document.getElementById('button').addEventListener('click', function (e){
  e.preventDefault();
  submitForm();
})

// if user types "enter" instead of clicking submit button
form.onSubmit(submitForm);

Example Response:

{
  "status": 201,
  "statusText": "Created",
  "data": {
    "id": "TKiu6N8r5wN38J1xXdeNjzZY",
    "fingerprint": "FPR-2083311660",
    "created_at": "2017-08-29T06:25:54.29Z",
    "updated_at": "2017-08-29T06:25:54.29Z",
    "instrument_type": "PAYMENT_CARD",
    "expires_at": "2017-08-30T06:25:54.29Z",
    "currency": "USD"
  }
}
{
  "cardBrand": "visa",
  "bin": "411111"
}

Finally we will need to register a click event that fires when our users submit the form and define a callback for handling the response.

Next, configure the library to your specific Application where all of the form fields will be submitted during the executed POST request. We’ll also want to register a click event that fires when our users submit the form and define a callback for handling the response.

Once you’ve handled the response you will want to store that ID to utilize the token in the future. To do this you will need to send the ID from your front-end client to your back-end server.

Arguments

Field Type Description
environment string, required sandbox for testing and live for live
applicationId string, required Application id that the payment card will be scoped to
callback function, required Callback that will be executed when the HTTPRequest is finished.

Step 5: Associate to an Identity

curl https://finix.sandbox-payments-api.com/payment_instruments \
    -H "Content-Type: application/vnd.json+api" \
    -u  UStt2KBTWJqwttvpRLfrj2xc:657ef015-2384-4cf9-b581-df4633fadbdd \
    -d '
    {
        "token": "TK9yAV5Fq9DxBT1uStPDgj5f",
        "type": "TOKEN",
        "identity": "IDpHEprvRCz6Sp4BGTEgsyKk"
    }'

Example Response:

{
  "id" : "PI2ZtJiDVKuenVJ6mc4z7XMo",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "fingerprint" : "FPRw9NoorETQgCjFgwKPvcGsV",
  "tags" : { },
  "expiration_month" : 12,
  "expiration_year" : 2029,
  "bin" : "495703",
  "last_four" : "0454",
  "brand" : "VISA",
  "card_type" : "UNKNOWN",
  "name" : null,
  "address" : {
    "line1" : "741 Douglass St",
    "line2" : "Apartment 7",
    "city" : "San Mateo",
    "region" : "CA",
    "postal_code" : "94114",
    "country" : "USA"
  },
  "address_verification" : "UNKNOWN",
  "security_code_verification" : "UNKNOWN",
  "created_at" : "2021-07-28T18:26:45.65Z",
  "updated_at" : "2021-07-28T18:26:45.66Z",
  "instrument_type" : "PAYMENT_CARD",
  "type" : "PAYMENT_CARD",
  "currency" : "USD",
  "identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PI2ZtJiDVKuenVJ6mc4z7XMo"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PI2ZtJiDVKuenVJ6mc4z7XMo/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PI2ZtJiDVKuenVJ6mc4z7XMo/transfers"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PI2ZtJiDVKuenVJ6mc4z7XMo/verifications"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    },
    "updates" : {
      "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PI2ZtJiDVKuenVJ6mc4z7XMo/updates"
    }
  }
}

Before you can use the newly tokenized card or bank account you will need to associate it with an Identity. To do this you must make an authenticated POST request to the /payment_instruments endpoint with the relevant token and Identity information.

HTTP Request

POST https://finix.sandbox-payments-api.com/payment_instruments

Request Arguments

Field Type Description
token string, required ID for the Token that was returned via the tokenization client
type string, required Must pass TOKEN as the value
identity string, required ID for the Identity resource which the account is to be associated

Mobile Tokenization

Our mobile SDKs for tokenization make it simple to accept payments inside any iOS or Android app. With these two libraries, we take on the responsibility of PCI compliance by removing the need to send sensitive payment card data to your servers. Simply use the tools to tokenize payment cards and we’ll store the payment card number in our secure vault. Next, we’ll return a token that you can use to associate to an Application. Once associated with an Application you can use it to process payments.

  1. Android SDK

  2. iOS SDK

Android SDK

Step 1: Installation

In the root module, make sure jcenter() is listed inside the repositories section. In the module, add this line to its build.gradle inside the dependencies section.

implementation 'com.payment.android:sdk:1.4'

Step 2: Instantiate Instrument Class

Create an Instrument and pass it the card number, expiration year, and expiration month.

 Instrument instrument = new Instrument(cardNumber, paymentType, expirationYear, expirationMonth);  
 Instrument instrument = new Instrument("4111111111111111", "PAYMENT_CARD", "2022", "12");  
Arguments
Field Type Description
cardNumber string, required Payment card account number
paymentType string, required Use “Payment_CARD”
expirationYear integer, required 4-digit expiration year
expirationMonth integer, required Expiration month (e.g. 12 for December)

Step 3: Instantiate PaymentsSDK Class

Next, create a PaymentsSDK object and pass it either a sandbox or a live endpoint. In the second argument you will need to pass the Application ID.

PaymentsSDK paymentsSDK = new PaymentsSDK(apiEndpoint, applicationId);;  
PaymentsSDK paymentsSDK = new PaymentsSDK(https://finix.sandbox-payments-api.com, APkSa6G63hcfYPak632WZ97m);;  
Arguments
Field Type Description
apiEndpoint string, required Sandbox or Live API endpoint (e.g. https://finix.sandbox-payments-api.com for Sandbox)
applicationId string, required ID of Application

Step 4: Tokenize Payment Card

Lastly, you will tokenize the payment card from that you received from step two by passing it to the Tokenize function.

Token token = paymentsSDK.Tokenize(instrument);


iOS SDK

Step 1: Import Payments SDK

Import the Payments SDK with with CocoaPods by adding pod 'PaymentsSDK', '~> 1.0.4' to the Podfile

Step 2: Import Library

Import PaymentsSDK by running import PaymentsSDK

 import PaymentsSDK

Step 3: Initialize Tokenizer Class

First, initiate Tokenizer class and pass it a sandbox or live endpoint. In addition to the endpoint, you need to pass the Application ID to the Tokenizer function.

let tokenizer = Tokenizer(
  host: apiEndpoint,
  applicationId: applicationId)
let tokenizer = Tokenizer(
  host: https://finix.sandbox-payments-api.com,
  applicationId: APkSa6G63hcfYPak632WZ97m)
Arguments
Field Type Description
apiEndpoint string, required Sandbox or Live API endpoint (e.g. https://finix.sandbox-payments-api.com for Sandbox)
applicationId string, required ID of Application

Step 4: Tokenize Payment Card

Lastly, pass the card number, payment type, expiration month and year to the createToken function.

tokenizer.createToken(
  cardNumber: cardNumber,
  paymentType: paymentType,
  expirationMonth: expirationMonth,
  expirationYear: expirationYear) { (token, error) in
       guard let token = token else {
           print(error!.localizedDescription)
           return
       }
       print(token.id)
       print(token.fingerprint)
}   
tokenizer.createToken(
  cardNumber: "4111111111111111",
  paymentType: "PAYMENT_CARD",
  expirationMonth: 12,
  expirationYear: 2021) { (token, error) in
       guard let token = token else {
           print(error!.localizedDescription)
           return
       }
       print(token.id)
       print(token.fingerprint)
}   
Arguments
Field Type Description
cardNumber string, required Payment card account number
paymentType string, required Use “Payment_CARD”
expirationYear integer, required 4-digit expiration year
expirationMonth integer, required Expiration month (e.g. 12 for December)

Admin Guides

Overview

These guides provide an overview of the API’s administrative capabilities and restricted requests not exposed to general users.

  1. Create an Application: A guide to programatically creating a new Applications and its API keys.

  2. Subscription Billing: Guide to create, apply, and repeat payments for subscription-based services.

  3. Managing Subscriptions: Guide to manage subscriptions.

  4. Fees: A guide describing the four different pricing tiers.

Creating an Application

This guide walks step by step how to create an Application via the API. To do so you must make 3 API requests.

  1. Create a new User with ROLE_PARTNER that will be the owner of the Application

  2. Create the Application resource

  3. Enable a processor for the Application where merchants will be onboarded and transactions will be processed.

Step 1: Create a new User

curl https://finix.sandbox-payments-api.com/users \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "role": "ROLE_PARTNER"
    }'

Example Response:

{
  "id" : "USrkaK96dJw8fNXn5b71wQ9u",
  "password" : "b0ddd02f-9018-47fc-be48-34399ffd700e",
  "identity" : null,
  "enabled" : true,
  "role" : "ROLE_PARTNER",
  "tags" : { },
  "created_at" : "2021-07-28T18:22:43.86Z",
  "updated_at" : "2021-07-28T18:22:43.86Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/users/USrkaK96dJw8fNXn5b71wQ9u"
    },
    "applications" : {
      "href" : "https://finix.sandbox-payments-api.com/applications"
    }
  }
}

We’ll first start by creating a new User with ROLE_PARTNER permissions that will be the owner of this new Application. Note that this is the equivalent of provisioning API keys (i.e. credentials) that are not associated with any single Application. You’ll want to store the password as it is only returned once. The keys will be associated in the next step.

HTTP Request

POST https://finix.sandbox-payments-api.com/users

Request Arguments

Field Type Description
role string, required Permission level of the user (use ROLE_PARTNER when creating a new Application)

Step 2: Create the Application

curl https://finix.sandbox-payments-api.com/applications/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "tags": {
            "application_name": "BrainTree"
        },
        "user": "USrkaK96dJw8fNXn5b71wQ9u",
        "entity": {
            "business_type": "LIMITED_LIABILITY_COMPANY",
            "business_phone": "+1 (408) 756-4497",
            "first_name": "dwayne",
            "last_name": "Sunkhronos",
            "dob": {
                "year": 1978,
                "day": 27,
                "month": 5
            },
            "business_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 8",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            },
            "max_transaction_amount": 1200000,
            "phone": "1234567890",
            "doing_business_as": "BrainTree",
            "personal_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 7",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            },
            "business_name": "BrainTree",
            "business_tax_id": "123456789",
            "email": "user@example.org",
            "tax_id": "123456789"
        }
    }'

Example Response:

{
  "id" : "APkSa6G63hcfYPak632WZ97m",
  "enabled" : true,
  "tags" : {
    "application_name" : "BrainTree"
  },
  "owner" : "ID2fU63CjikxhiADeHFUmWu",
  "name" : "BrainTree",
  "processing_enabled" : true,
  "settlement_enabled" : true,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : false,
  "card_cvv_required" : false,
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : null,
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:22:47.02Z",
  "updated_at" : "2021-07-28T18:22:47.02Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "processors" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors"
    },
    "users" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/users"
    },
    "owner_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/transfers"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/disputes"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/authorizations"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/settlements"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/merchants"
    },
    "identities" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/identities"
    },
    "webhooks" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/webhooks"
    },
    "reversals" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/reversals"
    },
    "tokens" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/tokens"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/payment_instruments"
    },
    "application_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/application_profile"
    }
  }
}

Now that we have a new owner User let’s create their Application. We’ll be collecting the same basic KYC and underwrting information that we typically collect for provisioning a merchant account. You’ll also be taking the ID for the User that you created in the previous step and passing it in the user field.

HTTP Request

POST https://finix.sandbox-payments-api.com/applications

User-specific Request Arguments

Field Type Description
user string, required User ID for the owner of the Application

Business-specific Request Arguments

Field Type Description
business_name string, required Merchant’s full legal business name (If INDIVIDUAL_SOLE_PROPRIETORSHIP, please input first name, Full legal last name and middle initial; max 120 characters)
doing_business_as string, required Alternate name of the business. If no other name is used please use the same value for business_name (max 60 characters)
business_type string, required Please select one of the following values: INDIVIDUAL_SOLE_PROPRIETORSHIP, CORPORATION, LIMITED_LIABILITY_COMPANY, PARTNERSHIP, ASSOCIATION_ESTATE_TRUST, TAX_EXEMPT_ORGANIZATION, INTERNATIONAL_ORGANIZATION, GOVERNMENT_AGENCY
business_tax_id string, required Nine digit Tax Identification Number (TIN), Employer Identification Number (EIN) or if the business_type is INDIVIDUAL_SOLE_PROPRIETORSHIP and a Tax ID is not available, the principal’s Social Security Number (SSN)
url string, required Merchant’s publicly available website (max 100 characters)
business_phone string, required Customer service phone number where the merchant can be reached (max 10 characters)
incorporation_date object, required Date company was founded (See below for a full list of the child attributes)
business_address object, required Primary address for the legal entity (Full description of child attributes below)

Principal-specific Request Arguments

(i.e. authorized representative or primary contact responsible for the account)

Field Type Description
first_name string, required Full legal first name of the merchant’s principal representative (max 20 characters)
last_name string, required Full legal last name of the merchant’s principal representative (max 20 characters)
title string, required Principal’s corporate title or role (i.e. Chief Executive Officer, CFO, etc.; max 60 characters)
principal_percentage_ownership integer, required Percentage of company owned by the principal (min 0; max 100)
tax_id string, required Nine digit Social Security Number (SSN) for the principal
dob object, required Principal’s date of birth (Full description of child attributes below)
phone string, required Principal’s phone number (max 10 characters)
email string, required Principal’s email address where they can be reached (max 100 characters)
personal_address object, required Principal’s personal home address. This field is used for identity verification purposes (Full description of child attributes below)

Processing-specific Request Arguments

Field Type Description
default_statement_descriptor string, required Billing descriptor displayed on the buyer’s bank or card statement (Length must be between 1 and 20 characters)
annual_card_volume integer, required Approximate annual credit card sales expected to be processed in cents by this merchant (max 23 characters)
max_transaction_amount integer, required Maximum amount that can be transacted for a single transaction in cents (max 12 characters)
mcc string, optional Merchant Category Code (MCC) that this merchant will be classified under
has_accepted_credit_cards_previously; Required if you plan on underwriting the owner identity boolean, optional Defaults to false if not passed

Address-object Request Arguments

Field Type Description
line1 string, required First line of the address (max 35 characters)
line2 string, optional Second line of the address (max 35 characters)
city string, required City (max 20 characters)
region string, required 2-letter State code
postal_code string, required Zip or Postal code (max 7 characters)
country string, required 3-Letter Country code

Incorporation Date-object Request Arguments

Field Type Description
day integer, required Day business was incorporated (between 1 and 31)
month integer, required Month business was incorporated (between 1 and 12)
year integer, required Year business was incorporated (4-digit)

DOB-object Request Arguments

Field Type Description
day integer, required Day of birth (between 1 and 31)
month integer, required Month of birth (between 1 and 12)
year integer, required Year of birth (4-digit)

Step 3: Enable a Processor

curl https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "type": "DUMMY_V1",
        "config": {
            "canDebitBankAccount": true,
            "key2": "value-2",
            "key1": "value-1"
        }
    }'

Example Response:

{
  "id" : "PRsVekjm8WbAtHZaj4QwiYJW",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "default_merchant_profile" : "MP5mn8YdDyRmrEhzVYQuBMwf",
  "application_config" : {
    "key1" : "value-1",
    "key2" : "value-2",
    "can_debit_bank_account" : true,
    "allow_split_payouts" : false,
    "ach_immediate_destination_name" : null,
    "default_currencies" : [ "USD" ],
    "ach_settlement_delay_days" : null,
    "alert_on_unknown_merchants" : false,
    "template_countries_available" : [ ]
  },
  "system_config" : null,
  "created_at" : "2021-07-28T18:22:44.81Z",
  "updated_at" : "2021-07-28T18:22:44.81Z",
  "processor" : "DUMMY_V1",
  "config" : {
    "key1" : "value-1",
    "key2" : "value-2",
    "canDebitBankAccount" : true
  },
  "enabled" : true,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors/DUMMY_V1"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

Great! Now that we have an Application, let’s enable a Processor for it to transact on. A Processor represents the acquiring platform where Merchants accounts are provisioned, and ultimately, where Transfers are processed. The Finix Payment Platform is processor agnostic allowing for processing transactions across multiple processors. Once a processor is enabled, the Application can begin provisioning merchant accounts.

In this example we’ll be enabling the DUMMY_V1 processor, which is utilized for sandbox testing.

HTTP Request

POST https://finix.sandbox-payments-api.com/applications/:APPLICATION_ID/processors

URL Parameters

Parameter Description
:APPLICATION_ID ID of the Application

Request Arguments

Field Type Description
canDebitBankAccount boolean, optional Allows a payment instrument of type BANK_ACCOUNT which is associated with the processor to be debited (i.e. eCheck)

Step 4: Enable Processing Functionality

curl https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -X PUT \
    -d '
    {
        "processing_enabled": true
    }'

Example Response:

{
  "id" : "APkSa6G63hcfYPak632WZ97m",
  "enabled" : true,
  "tags" : {
    "application_name" : "BrainTree"
  },
  "owner" : "ID2fU63CjikxhiADeHFUmWu",
  "name" : "BrainTree",
  "processing_enabled" : true,
  "settlement_enabled" : false,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : true,
  "card_cvv_required" : false,
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : "RECONCILIATION",
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:22:47.02Z",
  "updated_at" : "2021-07-28T18:50:49.94Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "processors" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors"
    },
    "users" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/users"
    },
    "owner_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/transfers"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/disputes"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/authorizations"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/settlements"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/merchants"
    },
    "identities" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/identities"
    },
    "webhooks" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/webhooks"
    },
    "reversals" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/reversals"
    },
    "tokens" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/tokens"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/payment_instruments"
    },
    "application_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/application_profile"
    }
  }
}

Now that we have a processor associated with an Application we’ll want to enable its ability to create new Transfers and Authorizations. This same method can be used to shut off its ability to process transactions as a form of risk management.

HTTP Request

PUT https://finix.sandbox-payments-api.com/applications/:APPLICATION_ID

URL Parameters

Parameter Description
:APPLICATION_ID ID of the APPLICATION

Request Arguments

Field Type Description
processing_enabled boolean, required True to enable

Step 5: Enable Settlement Functionality

curl https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -X PUT \
    -d '
    {
        "settlement_enabled": true
    }'

Example Response:

{
  "id" : "APkSa6G63hcfYPak632WZ97m",
  "enabled" : true,
  "tags" : {
    "application_name" : "BrainTree"
  },
  "owner" : "ID2fU63CjikxhiADeHFUmWu",
  "name" : "BrainTree",
  "processing_enabled" : true,
  "settlement_enabled" : true,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : true,
  "card_cvv_required" : false,
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : "RECONCILIATION",
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:22:47.02Z",
  "updated_at" : "2021-07-28T18:51:00.97Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "processors" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors"
    },
    "users" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/users"
    },
    "owner_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/transfers"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/disputes"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/authorizations"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/settlements"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/merchants"
    },
    "identities" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/identities"
    },
    "webhooks" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/webhooks"
    },
    "reversals" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/reversals"
    },
    "tokens" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/tokens"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/payment_instruments"
    },
    "application_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/application_profile"
    }
  }
}

As an additional safety measure we have decoupled the processing and settlement functionalities, so you will also need to enable its ability to settle out funds.

HTTP Request

PUT https://finix.sandbox-payments-api.com/applications/:APPLICATION_ID

URL Parameters

Parameter Description
:APPLICATION_ID ID of the APPLICATION

Request Arguments

Field Type Description
settlement_enabled boolean, required True to enable

Subscription Billing Guide

Finix’s Subscription Billing APIs provide Platforms the option to automatically charge their Merchants on a fixed billing plan. The Subscription Billing APIs can be used to charge a Fee to a Merchant for a service, equipment, or other use case. An example of a subscription Fee is charging a Merchant a one-time registration Fee or an annual software renewal Fee.

There are three steps to create and apply a Subscription to a Merchant.

Step 1: Create a Subscription Schedule

curl https://finix.sandbox-payments-api.com/subscription/subscription_schedules \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "line_item_type": "FEE",
        "nickname": "Fixed_Time_Subscription_Schedule",
        "fixed_time_interval_offset": {
            "interval_count": 4,
            "hourly_interval": 24
        },
        "subscription_type": "FIXED_TIME_INTERVAL"
    }'

Example Response:

{
  "id" : "SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX",
  "created_at" : "2021-07-28T18:51:04.77Z",
  "updated_at" : "2021-07-28T18:51:04.77Z",
  "created_by" : "USimz3zSq5R2PqiEBXY6rSiJ",
  "fixed_time_interval_offset" : {
    "hourly_interval" : 24,
    "interval_count" : 4
  },
  "line_item_type" : "FEE",
  "nickname" : "Fixed_Time_Subscription_Schedule",
  "period_offset" : null,
  "subscription_type" : "FIXED_TIME_INTERVAL",
  "tags" : { },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX"
    },
    "amounts" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX/subscription_amounts"
    }
  }
}

The Subscription Schedule details when the Subscription Fee is charged to the Merchant. There are two available schedule types: FIXED_TIME_INTERVAL or PERIODIC. Each schedule type provides different functionality:

The fixed_interval uses hourly increments. For example, to charge a Fee every day for 4 days, pass 24 in the interval field and 4 in the interval_count field in the request. There is no limit to the number of interval_count or intervals you can pass.

A PERIODIC_YEARLY Subscription Schedule charges a Merchant a Fee once a year on a specific day and month. If you pass in a day that does not exist, such as 2/31 or 11/30 in the day field, the request will error out.

A PERIODIC_MONTHLY Subscription Schedule charges a Merchant a Fee once a month on a specific day. The month field should not be passed in the payload, or the request will throw an error. If you pass in 31 to represent the last day of a month, for every month that does not have 31 days, the Fee will be charged on the last day of the month. For example, Fees for February would be charged on the 28th, September on the 30th, and etc. This logic also applies to leap years.

HTTP Request

POST https://finix.sandbox-payments-api.com/subscription/subscription_schedules

Fixed-time Interval Offset Request Arguments

Field Type Description
hourly_interval integer, required Hourly increments between recurring charges
interval_count integer, required Number of recurring charges

Request Arguments

Field Type Description
line_item_type string, required Subscription Schedule type. For subscriptions, the type is FEE
nickname string, required Subscription Schedule name
subscription_type string, required Subscription Schedule type. Available types are: PERIODIC_MONTHLY, PERIODIC_YEARLY or FIXED_TIME_INTERVAL
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)

Response

Field Type Description
id string ID of the Subscription Schedule
created_at string Timestamp of when the Subscription Schedule was created
updated_at string Timestamp of when the Subscription Schedule was last updated
created_by string User ID
fixed_time_offset object Specifies when the Fee is charged
hourly_interval integer Hourly increments between recurring charges
interval_count integer Number of recurring charges
line_item_type string Subscription Schedule type. For subscriptions, the type is FEE
nickname string Subscription Schedule name
period_offset object Specifies when the Fee is charged. This field is null for FIXED_TIME_INTERVAL Subscription Schedules
subscription_type string Subscription Schedule type
tags object Key value pair for annotating custom meta data (e.g. order numbers)

Step 2: Create a Subscription Amount

curl https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX/subscription_amounts  \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "amount_type": "FEE",
        "fee_amount_data": {
            "currency": "USD",
            "amount": 2500,
            "label": "POS_INSTALLMENT_FEE"
        },
        "nickname": "POS_INSTALLMENT_FEE",
        "tags": {
            "order_number": "124"
        }
    }'

Example Response:

{
  "id" : "SUBAMOUNT_s3gsST889nkbANvbhJcnMn",
  "created_at" : "2021-07-28T18:51:31.48Z",
  "updated_at" : "2021-07-28T18:51:31.48Z",
  "amount_type" : "FEE",
  "created_by" : "USimz3zSq5R2PqiEBXY6rSiJ",
  "fee_amount_data" : {
    "amount" : 2500,
    "currency" : "USD",
    "label" : "POS_INSTALLMENT_FEE"
  },
  "nickname" : "POS_INSTALLMENT_FEE",
  "subscription_schedule" : "SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX",
  "tags" : {
    "order_number" : "124"
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX/subscription_amounts/SUBAMOUNT_s3gsST889nkbANvbhJcnMn"
    },
    "schedule" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX"
    }
  }
}

The next step is to create and associate a Subscription Amount to a Subscription Schedule. The Subscription Amount is the amount to be charged to a Merchant. To associate a Subscription Amount with a Subscription Schedule pass FEE in the amount_type field of the request. You can associate up to 25 amounts to a schedule. To add an additional Subscription Amount to a schedule, make a new Subscription Amount request with the Subscription Schedule ID.

If you add another Subscription Amount to a schedule, all Merchants enrolled in that schedule will be charged the additional amount when the enrollment is triggered. For example, if your schedule charges a monthly software license fee of $10, and you add another monthly $10 reporting fee, all Merchants enrolled in this schedule will be charged $20 per month once the enrollment is triggered.

HTTP Request

POST https://finix.sandbox-payments-api.com/subscription/subscription_schedules/:SUBSCRIPTION_SCHEDULE_ID/subscription_amounts

URL Parameters

Parameter Description
:SUBSCRIPTION_SCHEDULE_ID ID of the Subscription Schedule

Request Arguments

Field Type Description
amount_type string, required Subscription Amount type. For subscriptions, the type is FEE
fee_amount_data object, required Key value pair specifying amount and currency
nickname string, required Subscription Amount name
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)

Fee Amount Object Request Arguments

Field Type Description
amount integer, required A positive integer in cents representing how much to charge on a recurring basis
currency string, required Three-letter ISO currency code in uppercase
label string, optional The display name of the Settlement that can be used for filtering purposes

Response

Field Type Description
id string ID of the Subscription Amount
created_at string Timestamp of when the Subscription Amount was created
updated_at string Timestamp of when the Subscription Amount was last updated
amount_type string Subscription Amount type. For subscriptions, the type is FEE
created_by string User ID
fee_amount_data object Key value pair specifying amount and currency
amount integer A positive integer in cents representing how much to charge on a recurring basis
currency string Three-letter ISO currency code in uppercase
label string The display name of the Settlement that can be used for filtering purposes
nickname string Subscription Amount name
subscription_schedule string ID of the Subscription Schedule
tags object Key value pair for annotating custom meta data (e.g. order numbers)

Step 3: Create a Subscription Enrollment and Enroll the Merchant

curl https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX/subscription_enrollments \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "merchant": "MUb37LGvcCV4sNdjyzuJZETx",
        "started_at": "2021-11-11T16:50:59.891Z",
        "nickname": "Security Fee",
        "tags": {
            "enrollment_info": "Security Fee Enrollment"
        }
    }'

Example Response:

{
  "id" : "SUBENROLLMENT_sMqppbVER1P7JSoAGc5TYE",
  "created_at" : "2021-07-28T18:51:41.59Z",
  "updated_at" : "2021-07-28T18:51:41.59Z",
  "created_by" : "USimz3zSq5R2PqiEBXY6rSiJ",
  "ended_at" : null,
  "merchant" : "MUb37LGvcCV4sNdjyzuJZETx",
  "nickname" : "Security Fee",
  "started_at" : "2021-11-11T16:50:59.89Z",
  "subscription_schedule" : "SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX",
  "tags" : {
    "enrollment_info" : "Security Fee Enrollment"
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_enrollments/SUBENROLLMENT_sMqppbVER1P7JSoAGc5TYE"
    },
    "merchant" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUb37LGvcCV4sNdjyzuJZETx"
    },
    "schedule" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX"
    },
    "amounts" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX/subscription_amounts"
    }
  }
}

A Subscription Enrollment details which Merchant gets charged, to what schedule, and when the subscription will start. The Subscription Enrollment must be associated with a Subscription Schedule.

HTTP Request

POST https://finix.sandbox-payments-api.com/subscription/subscription_schedules/:SUBSCRIPTION_SCHEDULE_ID/subscription_enrollments

URL Parameters

Parameter Description
:SUBSCRIPTION_SCHEDULE_ID ID of the Subscription Schedule

Request Arguments

Field Type Description
ended_at string, optional When the subscription will end in DateTime format. This field can be null. If left null, the Fee will continue in perpetuity
merchant string, required ID of the Merchant
nickname string, required Subscription Enrollment name
started_at string, required When the subscription will begin in DateTime format. The start date must be a future date
tags object, optional Key value pair annotating custom meta data (e.g. order numbers)

Response

Field Type Description
id string Subscription Enrollment ID
created_at string Timestamp of when the Subscription Enrollment was created
updated_at string Timestamp of when the Subscription Enrollment was last updated
created_by string User ID
ended_at string When the subscription will end in DateTime format. If left blank, it will continue in perpetuity
merchant string ID of the Merchant
nickname string Name of the Subscription Enrollment
started_at string When the subscription will begin in DateTime format
subscription_schedule string ID of the Subscription Schedule
tags object Key value pair annotating custom meta data (e.g. order numbers)

Managing Subscriptions

Create Subscription Amount

curl https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX/subscription_amounts  \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "amount_type": "FEE",
        "fee_amount_data": {
            "currency": "USD",
            "amount": 2500,
            "label": "POS_INSTALLMENT_FEE"
        },
        "nickname": "POS_INSTALLMENT_FEE",
        "tags": {
            "order_number": "124"
        }
    }'

Example Response:

{
  "id" : "SUBAMOUNT_s3gsST889nkbANvbhJcnMn",
  "created_at" : "2021-07-28T18:51:31.48Z",
  "updated_at" : "2021-07-28T18:51:31.48Z",
  "amount_type" : "FEE",
  "created_by" : "USimz3zSq5R2PqiEBXY6rSiJ",
  "fee_amount_data" : {
    "amount" : 2500,
    "currency" : "USD",
    "label" : "POS_INSTALLMENT_FEE"
  },
  "nickname" : "POS_INSTALLMENT_FEE",
  "subscription_schedule" : "SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX",
  "tags" : {
    "order_number" : "124"
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX/subscription_amounts/SUBAMOUNT_s3gsST889nkbANvbhJcnMn"
    },
    "schedule" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX"
    }
  }
}

The Subscription Amount is the amount to be charged to a Merchant. The Subscription Amount must be associated to a Subscription Schedule.

HTTP Request

POST https://finix.sandbox-payments-api.com/subscription/subscription_schedules/:SUBSCRIPTION_SCHEDULE_ID/subscription_amounts

URL Parameters

Parameter Description
:SUBSCRIPTION_SCHEDULE_ID ID of the Subscription Schedule

Request Arguments

Field Type Description
amount_type string, required Subscription Amount type. For subscriptions, the type is FEE
fee_amount_data object, required Key value pair specifying amount and currency
nickname string, required Subscription Amount name
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)

Fee Amount Object Request Arguments

Field Type Description
amount integer, required A positive integer in cents representing how much to charge on a recurring basis
currency string, required Three-letter ISO currency code in uppercase
label string, optional The display name of the Settlement that can be used for filtering purposes

Response

Field Type Description
id string ID of the Subscription Amount
created_at string Timestamp of when the Subscription Amount was created
updated_at string Timestamp of when the Subscription Amount was last updated
amount_type string Subscription Amount type. For subscriptions, the type is FEE
created_by string User ID
fee_amount_data object Key value pair specifying amount and currency
amount integer A positive integer in cents representing how much to charge on a recurring basis
currency string Three-letter ISO currency code in uppercase
label string The display name of the Settlement that can be used for filtering purposes
nickname string Subscription Amount name
subscription_schedule string ID of the Subscription Schedule
tags object Key value pair for annotating custom meta data (e.g. order numbers)

Update Subscription Amount

curl https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX/subscription_amounts/SUBAMOUNT_s3gsST889nkbANvbhJcnMn  \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -X PATCH \
    -d '
    {
        "amount_type": "FEE",
        "amount": 5000,
        "nickname": "NEW_POS_INSTALLMENT_FEE"
    }'

Example Response:

{
  "id" : "SUBAMOUNT_si9xtrAZdJGNYSefUNrmeq",
  "created_at" : "2021-07-28T18:51:34.96Z",
  "updated_at" : "2021-07-28T18:51:34.96Z",
  "amount_type" : "FEE",
  "created_by" : "USimz3zSq5R2PqiEBXY6rSiJ",
  "fee_amount_data" : {
    "amount" : 2500,
    "currency" : "USD",
    "label" : "POS_INSTALLMENT_FEE"
  },
  "nickname" : "NEW_POS_INSTALLMENT_FEE",
  "subscription_schedule" : "SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX",
  "tags" : { },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX/subscription_amounts/SUBAMOUNT_si9xtrAZdJGNYSefUNrmeq"
    },
    "schedule" : {
      "href" : "https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX"
    }
  }
}

Update a previously created Subscription Amount. This creates a new Subscription Amount resource.

HTTP Request

PATCH https://finix.sandbox-payments-api.com/subscription/subscription_schedules/:SUBSCRIPTION_SCHEDULE_ID/subscription_amounts/:SUBSCRIPTION_AMOUNT_ID

URL Parameters

Parameter Description
:SUBSCRIPTION_SCHEDULE_ID ID of the Subscription Schedule
:SUBSCRIPTION_AMOUNT_ID ID of the Subscription Amount

Request Arguments

Field Type Description
amount_type string, required Subscription Amount type. For subscriptions, the type is FEE
fee_amount_data object, required Key value pair specifying amount and currency
nickname string, required Subscription Amount name

Fee Amount Object Request Arguments

Field Type Description
amount integer, optional A positive integer in cents representing how much to charge on a recurring basis
currency string, optional Three-letter ISO currency code in uppercase
label string, optional The display name of the Settlement that can be used for filtering purposes

Response

Field Type Description
id string ID of the Subscription Amount
created_at string Timestamp of when the Subscription Amount was created
updated_at string Timestamp of when the Subscription Amount was last updated
amount_type string Subscription Amount type. For subscriptions, the type is FEE
created_by string User ID
fee_amount_data object Key value pair specifying amount and currency
amount integer A positive integer in cents representing how much to charge on a recurring basis
currency string Three-letter ISO currency code in uppercase
label string The display name of the Settlement that can be used for filtering purposes
nickname string Subscription Amount name
subscription_schedule string ID of the Subscription Schedule
tags object Key value pair for annotating custom meta data (e.g. order numbers)

Delete Subscription Amount


curl https://finix.sandbox-payments-api.com/subscription/subscription_schedules/SUBSCHEDULE_q5ef9QdeLf8EFxaNGeBSSX/subscription_amounts/SUBAMOUNT_s3gsST889nkbANvbhJcnMn  \
    -H "Content-Type: application/vnd.json+api" \
    -X DELETE \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041

Delete a previously created Subscription Amount.

HTTP Request

DELETE https://finix.sandbox-payments-api.com/subscription/subscription_schedules/:SUBSCRIPTION_SCHEDULE_ID/subscription_amounts/:SUBSCRIPTION_AMOUNT_ID

URL Parameters

Parameter Description
:SUBSCRIPTION_SCHEDULE_ID ID of the Subscription Schedule
:SUBSCRIPTION_AMOUNT_ID ID of the Subscription Amount

Delete Subscription Enrollment


curl https://finix.sandbox-payments-api.com/subscription/subscription_enrollments/SUBENROLLMENT_sMqppbVER1P7JSoAGc5TYE  \
    -H "Content-Type: application/vnd.json+api" \
    -X DELETE \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041

Delete a previously created Subscription Enrollment.

HTTP Request

DELETE https://finix.sandbox-payments-api.com/subscription/subscription_enrollments/:SUBSCRIPTION_ENROLLMENT_ID

URL Parameters

Parameter Description
:SUBSCRIPTION_ENROLLMENT_ID ID of the Subscription Enrollment

Fees

You can find the live example of how fees are calculated in this spreadsheet

Case 1

Transfer Amount Transfer Fee Platform Fee Profile (Fixed+BPS) Interchange Fee Merchant Application Platform Total
$100 $0.00 0c+0% ($0.00) $0.00 $100.00 $0.00 $0.00 $0.00
$100 $10.00 0c+0% ($0.00) $0.00 $90.00 $10.00 $0.00 $0.00

Case 2

Transfer Amount Transfer Fee Platform Fee Profile (Fixed+BPS) Interchange Fee Merchant Application Platform Total
$100 $0.00 0c+0% ($0.00) $0.11 $99.89 $0.00 $0.11 $0.11
$100 $10.00 0c+0% ($0.00) $0.11 $90.00 $9.89 $0.11 $0.11
$100 $0.10 0c+0% ($0.00) $0.11 $99.89 $0.00 $0.11 $0.11

Case 3

Transfer Amount Transfer Fee Platform Fee Profile (Fixed+BPS) Interchange Fee Merchant Application Platform Total
$100 $0.00 30c+2.9% ($3.20) $0.00 $96.80 $0.00 $3.20 $3.20
$100 $0.10 30c+2.9% ($3.20) $0.00 $96.80 $0.00 $3.20 $3.20
$100 $3.20 30c+2.9% ($3.20) $0.00 $96.80 $0.00 $3.20 $3.20
$100 $4.00 30c+2.9% ($3.20) $0.00 $96.00 $0.80 $3.20 $3.20
$100 $99.00 30c+2.9% ($3.20) $0.00 $1.00 $95.80 $3.20 $3.20

Case 4

Transfer Amount Transfer Fee Platform Fee Profile (Fixed+BPS) Interchange Fee Merchant Application Platform Total
$100 $0.00 30c+2.9% ($3.20) $0.11 $96.69 $0.00 $3.31 $3.31
$100 $0.10 30c+2.9% ($3.20) $0.11 $96.69 $0.00 $3.31 $3.31
$100 $3.20 30c+2.9% ($3.20) $0.11 $96.69 $0.00 $3.31 $3.31
$100 $4.00 30c+2.9% ($3.20) $0.11 $96.00 $0.69 $3.31 $3.31
$100 $99.00 30c+2.9% ($3.20) $0.11 $1.00 $95.69 $3.31 $3.31

Applications

An Application resource represents a web application (e.g. marketplace, ISV, SaaS platform). In other words, any web service that connects buyers (i.e. customers) and sellers (i.e. merchants).

Fetch an Application

curl https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m \
    -H "Content-Type: application/vnd.json+api" \
    -u USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041

Example Response:

{
  "id" : "APkSa6G63hcfYPak632WZ97m",
  "enabled" : true,
  "tags" : {
    "application_name" : "BrainTree"
  },
  "owner" : "ID2fU63CjikxhiADeHFUmWu",
  "name" : "BrainTree",
  "processing_enabled" : true,
  "settlement_enabled" : true,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : true,
  "card_cvv_required" : false,
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : "RECONCILIATION",
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:22:47.02Z",
  "updated_at" : "2021-07-28T18:23:42.71Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "processors" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors"
    },
    "users" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/users"
    },
    "owner_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/transfers"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/disputes"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/authorizations"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/settlements"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/merchants"
    },
    "identities" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/identities"
    },
    "webhooks" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/webhooks"
    },
    "reversals" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/reversals"
    },
    "tokens" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/tokens"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/payment_instruments"
    },
    "application_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/application_profile"
    }
  }
}

HTTP Request

GET https://finix.sandbox-payments-api.com/applications/:APPLICATION_ID

URL Parameters

Parameter Description
:APPLICATION_ID ID of the Application

Create an Application User

curl https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/users \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '{}'

Example Response:

{
  "id" : "UStch7Wz3MWeVgkzLxWvLebh",
  "password" : "488794cb-a133-4282-8c9e-5ff68fc528e7",
  "identity" : "ID2fU63CjikxhiADeHFUmWu",
  "enabled" : true,
  "role" : "ROLE_PARTNER",
  "tags" : { },
  "created_at" : "2021-07-28T18:23:09.19Z",
  "updated_at" : "2021-07-28T18:23:09.19Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/users/UStch7Wz3MWeVgkzLxWvLebh"
    },
    "applications" : {
      "href" : "https://finix.sandbox-payments-api.com/applications"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

This is the equivalent of provisioning API keys (i.e. credentials) for an Application.

HTTP Request

POST https://finix.sandbox-payments-api.com/applications/:APPLICATION_ID/users

URL Parameters

Parameter Description
:APPLICATION_ID ID of the Application you would like to create keys for

Create an Application

curl https://finix.sandbox-payments-api.com/applications/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "tags": {
            "application_name": "BrainTree"
        },
        "user": "USrkaK96dJw8fNXn5b71wQ9u",
        "entity": {
            "business_type": "LIMITED_LIABILITY_COMPANY",
            "business_phone": "+1 (408) 756-4497",
            "first_name": "dwayne",
            "last_name": "Sunkhronos",
            "dob": {
                "year": 1978,
                "day": 27,
                "month": 5
            },
            "business_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 8",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            },
            "max_transaction_amount": 1200000,
            "phone": "1234567890",
            "doing_business_as": "BrainTree",
            "personal_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 7",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            },
            "business_name": "BrainTree",
            "business_tax_id": "123456789",
            "email": "user@example.org",
            "tax_id": "123456789"
        }
    }'

Example Response:

{
  "id" : "APkSa6G63hcfYPak632WZ97m",
  "enabled" : true,
  "tags" : {
    "application_name" : "BrainTree"
  },
  "owner" : "ID2fU63CjikxhiADeHFUmWu",
  "name" : "BrainTree",
  "processing_enabled" : true,
  "settlement_enabled" : true,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : false,
  "card_cvv_required" : false,
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : null,
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:22:47.02Z",
  "updated_at" : "2021-07-28T18:22:47.02Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "processors" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors"
    },
    "users" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/users"
    },
    "owner_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/transfers"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/disputes"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/authorizations"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/settlements"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/merchants"
    },
    "identities" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/identities"
    },
    "webhooks" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/webhooks"
    },
    "reversals" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/reversals"
    },
    "tokens" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/tokens"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/payment_instruments"
    },
    "application_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/application_profile"
    }
  }
}

HTTP Request

POST https://finix.sandbox-payments-api.com/applications

User-specific Request Arguments

Field Type Description
user string, required User ID for the owner of the Application

Business-specific Request Arguments

Field Type Description
business_name string, required Merchant’s full legal business name (If INDIVIDUAL_SOLE_PROPRIETORSHIP, please input first name, Full legal last name and middle initial; max 120 characters)
doing_business_as string, required Alternate name of the business. If no other name is used please use the same value for business_name (max 60 characters)
business_type string, required Please select one of the following values: INDIVIDUAL_SOLE_PROPRIETORSHIP, CORPORATION, LIMITED_LIABILITY_COMPANY, PARTNERSHIP, ASSOCIATION_ESTATE_TRUST, TAX_EXEMPT_ORGANIZATION, INTERNATIONAL_ORGANIZATION, GOVERNMENT_AGENCY
business_tax_id string, required Nine digit Tax Identification Number (TIN), Employer Identification Number (EIN) or if the business_type is INDIVIDUAL_SOLE_PROPRIETORSHIP and a Tax ID is not available, the principal’s Social Security Number (SSN)
url string, required Merchant’s publicly available website (max 100 characters)
business_phone string, required Customer service phone number where the merchant can be reached (max 10 characters)
incorporation_date object, required Date company was founded (See below for a full list of the child attributes)
business_address object, required Primary address for the legal entity (Full description of child attributes below)

Principal-specific Request Arguments

(i.e. authorized representative or primary contact responsible for the account)

Field Type Description
first_name string, required Full legal first name of the merchant’s principal representative (max 20 characters)
last_name string, required Full legal last name of the merchant’s principal representative (max 20 characters)
title string, required Principal’s corporate title or role (i.e. Chief Executive Officer, CFO, etc.; max 60 characters)
principal_percentage_ownership integer, required Percentage of company owned by the principal (min 0; max 100)
tax_id string, required Nine digit Social Security Number (SSN) for the principal
dob object, required Principal’s date of birth (Full description of child attributes below)
phone string, required Principal’s phone number (max 10 characters)
email string, required Principal’s email address where they can be reached (max 100 characters)
personal_address object, required Principal’s personal home address. This field is used for identity verification purposes (Full description of child attributes below)

Processing-specific Request Arguments

Field Type Description
default_statement_descriptor string, required Billing descriptor displayed on the buyer’s bank or card statement (Length must be between 1 and 20 characters)
annual_card_volume integer, required Approximate annual credit card sales expected to be processed in cents by this merchant (max 23 characters)
max_transaction_amount integer, required Maximum amount that can be transacted for a single transaction in cents (max 12 characters)
mcc string, optional Merchant Category Code (MCC) that this merchant will be classified under
has_accepted_credit_cards_previously; Required if you plan on underwriting the owner identity boolean, optional Defaults to false if not passed

Address-object Request Arguments

Field Type Description
line1 string, required First line of the address (max 35 characters)
line2 string, optional Second line of the address (max 35 characters)
city string, required City (max 20 characters)
region string, required 2-letter State code
postal_code string, required Zip or Postal code (max 7 characters)
country string, required 3-Letter Country code

Incorporation Date-object Request Arguments

Field Type Description
day integer, required Day business was incorporated (between 1 and 31)
month integer, required Month business was incorporated (between 1 and 12)
year integer, required Year business was incorporated (4-digit)

DOB-object Request Arguments

Field Type Description
day integer, required Day of birth (between 1 and 31)
month integer, required Month of birth (between 1 and 12)
year integer, required Year of birth (4-digit)

[ADMIN] Disable Processing Functionality

curl https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -X PUT \
    -d '
    {
        "processing_enabled": false
    }'

Example Response:

{
  "id" : "APkSa6G63hcfYPak632WZ97m",
  "enabled" : true,
  "tags" : {
    "application_name" : "BrainTree"
  },
  "owner" : "ID2fU63CjikxhiADeHFUmWu",
  "name" : "BrainTree",
  "processing_enabled" : false,
  "settlement_enabled" : true,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : true,
  "card_cvv_required" : false,
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : "RECONCILIATION",
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:22:47.02Z",
  "updated_at" : "2021-07-28T18:50:40.65Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "processors" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors"
    },
    "users" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/users"
    },
    "owner_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/transfers"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/disputes"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/authorizations"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/settlements"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/merchants"
    },
    "identities" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/identities"
    },
    "webhooks" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/webhooks"
    },
    "reversals" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/reversals"
    },
    "tokens" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/tokens"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/payment_instruments"
    },
    "application_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/application_profile"
    }
  }
}

Disable an Applications's ability to create new Transfers and Authorizations

HTTP Request

PUT https://finix.sandbox-payments-api.com/applications/:APPLICATION_ID

URL Parameters

Parameter Description
:APPLICATION_ID ID of the APPLICATION

Request Arguments

Field Type Description
processing_enabled boolean, required False to disable

[ADMIN] Disable Settlement Functionality

curl https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -X PUT \
    -d '
    {
        "settlement_enabled": false
    }'

Example Response:

{
  "id" : "APkSa6G63hcfYPak632WZ97m",
  "enabled" : true,
  "tags" : {
    "application_name" : "BrainTree"
  },
  "owner" : "ID2fU63CjikxhiADeHFUmWu",
  "name" : "BrainTree",
  "processing_enabled" : false,
  "settlement_enabled" : false,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : true,
  "card_cvv_required" : false,
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : "RECONCILIATION",
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:22:47.02Z",
  "updated_at" : "2021-07-28T18:50:37.71Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "processors" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors"
    },
    "users" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/users"
    },
    "owner_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/transfers"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/disputes"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/authorizations"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/settlements"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/merchants"
    },
    "identities" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/identities"
    },
    "webhooks" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/webhooks"
    },
    "reversals" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/reversals"
    },
    "tokens" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/tokens"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/payment_instruments"
    },
    "application_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/application_profile"
    }
  }
}

Disable an Applications's ability to create new Settlements

HTTP Request

PUT https://finix.sandbox-payments-api.com/applications/:APPLICATION_ID

URL Parameters

Parameter Description
:APPLICATION_ID ID of the APPLICATION

Request Arguments

Field Type Description
settlement_enabled boolean, required False to disable

[ADMIN] Enable the Dummy Processor (i.e. Sandbox)

curl https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "type": "DUMMY_V1",
        "config": {
            "canDebitBankAccount": true,
            "key2": "value-2",
            "key1": "value-1"
        }
    }

Example Response:

{
  "id" : "PRsVekjm8WbAtHZaj4QwiYJW",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "default_merchant_profile" : "MP5mn8YdDyRmrEhzVYQuBMwf",
  "application_config" : {
    "key1" : "value-1",
    "key2" : "value-2",
    "can_debit_bank_account" : true,
    "allow_split_payouts" : false,
    "ach_immediate_destination_name" : null,
    "default_currencies" : [ "USD" ],
    "ach_settlement_delay_days" : null,
    "alert_on_unknown_merchants" : false,
    "template_countries_available" : [ ]
  },
  "system_config" : null,
  "created_at" : "2021-07-28T18:22:44.81Z",
  "updated_at" : "2021-07-28T18:22:44.81Z",
  "processor" : "DUMMY_V1",
  "config" : {
    "key1" : "value-1",
    "key2" : "value-2",
    "canDebitBankAccount" : true
  },
  "enabled" : true,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors/DUMMY_V1"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

Enables the DUMMY_V1 acquiring processor for an Application to provision Merchant accounts, process Transfers and issue Settlements.

HTTP Request

POST https://finix.sandbox-payments-api.com/applications/:APPLICATION_ID/processors

URL Parameters

Parameter Description
:APPLICATION_ID ID of the Application

Request Arguments

Field Type Description
canDebitBankAccount boolean, optional Allows a payment instrument of type BANK_ACCOUNT which is associated with the processor to be debited (i.e. eCheck)

[ADMIN] Configure Card Sale Submission Method

curl https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors/DUMMY_V1 \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "application_config": {
            "card_sale_submission_method": "real_time"
        }
    }'

Example Response:

{
  "id" : "PRsVekjm8WbAtHZaj4QwiYJW",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "default_merchant_profile" : "MP5mn8YdDyRmrEhzVYQuBMwf",
  "application_config" : {
    "key1" : "value-1",
    "key2" : "value-2",
    "can_debit_bank_account" : true,
    "allow_split_payouts" : false,
    "ach_immediate_destination_name" : null,
    "default_currencies" : [ "USD" ],
    "ach_settlement_delay_days" : null,
    "template_countries_available" : [ ],
    "alert_on_unknown_merchants" : false
  },
  "system_config" : null,
  "created_at" : "2021-07-28T18:22:44.81Z",
  "updated_at" : "2021-07-28T18:22:52.13Z",
  "processor" : "DUMMY_V1",
  "config" : {
    "key1" : "value-1",
    "key2" : "value-2",
    "canDebitBankAccount" : true
  },
  "enabled" : true,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors/DUMMY_V1"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

There are two variations:

As a part of the application_config, set the type of transfers you want to enable:

To use online sale: "card_sale_submission_method" : "real_time"

To use batch sale: "card_sale_submission_method" : "batch"

The default value for card_sale_submission_method is real_time.

HTTP Request

PUT https://finix.sandbox-payments-api.com/applications/:APPLICATION_ID/processors/:PROCESSOR_NAME

URL Parameters

Parameter Description
:APPLICATION_ID ID of the Application you would like to create keys for

Request Arguments

Field Type Description
card_sale_submission_method string, required For online sale, pass "real_time". For batch sale, pass "batch".

[ADMIN] List all Applications

curl https://finix.sandbox-payments-api.com/applications/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e

Example Response:

{
  "_embedded" : {
    "applications" : [ {
      "id" : "APkSa6G63hcfYPak632WZ97m",
      "enabled" : true,
      "tags" : {
        "application_name" : "BrainTree"
      },
      "owner" : "ID2fU63CjikxhiADeHFUmWu",
      "name" : "BrainTree",
      "processing_enabled" : true,
      "settlement_enabled" : true,
      "creating_transfer_from_report_enabled" : false,
      "card_expiration_date_required" : true,
      "card_cvv_required" : false,
      "settlement_funding_identifier" : "UNSET",
      "ready_to_settle_upon" : "RECONCILIATION",
      "fee_ready_to_settle_upon" : "RECONCILIATION",
      "created_at" : "2021-07-28T18:22:47.02Z",
      "updated_at" : "2021-07-28T18:23:42.71Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        },
        "processors" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/processors"
        },
        "users" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/users"
        },
        "owner_identity" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/transfers"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/disputes"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/authorizations"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/settlements"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/merchants"
        },
        "identities" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/identities"
        },
        "webhooks" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/webhooks"
        },
        "reversals" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/reversals"
        },
        "tokens" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/tokens"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/payment_instruments"
        },
        "application_profile" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/application_profile"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/?offset=0&limit=20&sort=created_at,desc&sort=id,desc"
    }
  },
  "page" : {
    "offset" : 0,
    "limit" : 20,
    "count" : 1
  }
}

HTTP Request

GET https://finix.sandbox-payments-api.com/applications/

Authorizations

An Authorization (also known as a card hold) reserves a specific amount on a card to be captured (i.e. debited) at a later date, usually within seven days. When an Authorization is captured it produces a Transfer resource.

Create an Authorization

curl https://finix.sandbox-payments-api.com/authorizations \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '
    {
        "source": "PIqf952xmeuiF179wdMiPXrW",
        "merchant_identity": "IDpHEprvRCz6Sp4BGTEgsyKk",
        "tags": {
            "order_number": "21DFASJSAKAS"
        },
        "currency": "USD",
        "amount": 100,
        "processor": "DUMMY_V1"
    }'

Example Response:

{
  "id" : "AUqC4UCs1eg4dV9neqrJnnke",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "amount" : 100,
  "tags" : {
    "order_number" : "21DFASJSAKAS"
  },
  "state" : "SUCCEEDED",
  "currency" : "USD",
  "transfer" : null,
  "messages" : [ ],
  "raw" : null,
  "created_at" : "2021-07-28T18:26:29.15Z",
  "updated_at" : "2021-07-28T18:26:29.31Z",
  "trace_id" : "29405f27-47b3-4a12-b026-551c4f86c758",
  "source" : "PIqf952xmeuiF179wdMiPXrW",
  "merchant_identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "3ds_redirect_url" : null,
  "is_void" : false,
  "void_state" : "UNATTEMPTED",
  "expires_at" : "2021-08-04T18:26:29.15Z",
  "idempotency_id" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations/AUqC4UCs1eg4dV9neqrJnnke"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "merchant_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    }
  }
}

Authorizations can have two possible states, SUCCEEDED and FAILED. If the Authorization has succeeded, it must be captured before the expires_at or the funds will be released.

Learn how to prevent duplicate authorizations by passing an idempotency ID in the payload.

HTTP Request

POST https://finix.sandbox-payments-api.com/authorizations

Request Arguments

Field Type Description
source string, required The Payment Instrument that you will be performing the authorization
merchant_identity string, required The ID of the Identity for the merchant that you are transacting on behalf of
amount integer, required The amount of the authorization in cents
currency string, required 3-letter ISO code designating the currency (e.g. USD)
processor string, optional If the Application has more than one processor association, it’s required to pass the processor (e.g. DUMMY_V1)
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)
idempotency_id string, optional A randomly generated value that you want associated with the request

Create an Authorization with 3D Secure

curl https://finix.sandbox-payments-api.com/authorizations \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '
    {
        "merchant": "MUmMpVqaad7Va1YQR2soR3tq",
        "3d_secure_authentication": {
            "electronic_commerce_indicator": "AUTHENTICATED",
            "cardholder_authentication": "BwABBJQ1AgAAAAAgJDUCAAAAAAA=",
            "transaction_id": "EaOMucALHQqLAEGAgk"
        },
        "source": "PIqf952xmeuiF179wdMiPXrW",
        "tags": {
            "order_number": "21DFASJSAKAS"
        },
        "currency": "USD",
        "amount": 100
    }'

Example Response:

{
  "id" : "AUfL88hFUdBgkmA9Ytk25LE3",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "amount" : 100,
  "tags" : {
    "order_number" : "21DFASJSAKAS"
  },
  "state" : "SUCCEEDED",
  "currency" : "USD",
  "transfer" : null,
  "messages" : [ ],
  "raw" : null,
  "created_at" : "2021-07-28T18:26:33.93Z",
  "updated_at" : "2021-07-28T18:26:34.07Z",
  "trace_id" : "5fde513d-dbc9-4d84-a915-a05221cd82fc",
  "source" : "PIqf952xmeuiF179wdMiPXrW",
  "merchant_identity" : "IDnj7MkxQSuwpKjvB5NKNipc",
  "3ds_redirect_url" : null,
  "is_void" : false,
  "void_state" : "UNATTEMPTED",
  "expires_at" : "2021-08-04T18:26:33.93Z",
  "idempotency_id" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations/AUfL88hFUdBgkmA9Ytk25LE3"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "merchant_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc"
    }
  }
}

Authorizations can have two possible states, SUCCEEDED and FAILED. If the Authorization has succeeded, it must be captured before the expires_at or the funds will be released.

3D Secure 2.0 allows end-users to authenticate a transaction by having the cardholder authenticate with their issuing bank. By enabling 3D Secure on a transaction, you are shifting the liability of a chargeback from the merchant to the issuing bank. The integration requires a 3D Secure vendor to generate the values needed for 3d_secure_authentication.

Learn how to prevent duplicate authorizations by passing an idempotency ID in the payload.

HTTP Request

POST https://finix.sandbox-payments-api.com/authorizations

Request Arguments

Field Type Description
amount integer, required The total amount that will be debited in cents (e.g. 100 cents to debit $1.00)
currency string, required 3-letter ISO code designating the currency of the Transfers (e.g. USD)processor
fee integer, optional The amount of the Transfer you would like to collect as your fee in cents. Defaults to zero (Must be less than or equal to the amount)
idempotency_id string, optional A randomly generated value that you want associated with the request
merchant string, optional Merchant ID of the merchant whom you’re charging on behalf of
source string, required ID of the Payment Instrument that will be debited
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)

3d_secure_authentication-object Request Arguments

Field Type Description
cardholder_authentication string, required Provides evidence that the cardholder authentication occurred or that the merchant attempted authentication. This is unique for each authentication transaction.
cardholder_ip_address integer, optional Only required for American Express cards. Format is nnn.nnn.nnn.nnn
electronic_commerce_indicator string, required AUTHENTICATED: Approved by 3D Secure Vendor; ATTEMPTED: Issuer or cardholder does not support 3D Secure
transaction_id string, optional Only valid for Visa transactions

Capture an Authorization

curl https://finix.sandbox-payments-api.com/authorizations/AUqC4UCs1eg4dV9neqrJnnke \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -X PUT \
    -d '
    {
        "fee": "10",
        "capture_amount": 100
    }'

Example Response:

{
  "id" : "AUqC4UCs1eg4dV9neqrJnnke",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "amount" : 100,
  "tags" : {
    "order_number" : "21DFASJSAKAS"
  },
  "state" : "SUCCEEDED",
  "currency" : "USD",
  "transfer" : "TRtnUgnVFpWGZeWa2Rv6rFHQ",
  "messages" : [ ],
  "raw" : null,
  "created_at" : "2021-07-28T18:26:29.15Z",
  "updated_at" : "2021-07-28T18:26:34.65Z",
  "trace_id" : "29405f27-47b3-4a12-b026-551c4f86c758",
  "source" : "PIqf952xmeuiF179wdMiPXrW",
  "merchant_identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "3ds_redirect_url" : null,
  "is_void" : false,
  "void_state" : "UNATTEMPTED",
  "expires_at" : "2021-08-04T18:26:29.15Z",
  "idempotency_id" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations/AUqC4UCs1eg4dV9neqrJnnke"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "transfer" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRtnUgnVFpWGZeWa2Rv6rFHQ"
    },
    "merchant_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    }
  }
}

If successfully captured, the transfer field of the Authorization will contain the ID for the corresponding Transfer resource. By default, Transfers are in a PENDING state. The PENDING state means the system hasn’t submitted the capture request yet. Capture requests are submitted via batch request. Once submited, the state of the Transfer will update to SUCCEEDED.

HTTP Request

PUT https://finix.sandbox-payments-api.com/authorizations/:AUTHORIZATION_ID

URL Parameters

Parameter Description
:AUTHORIZATION_ID ID of the Authorization

Request Arguments

Field Type Description
capture_amount integer, required The amount of the Authorization you would like to capture in cents. Must be less than or equal to the amount of the Authorization
fee integer, optional Amount of the captured Authorization you would like to collect as your fee. Must be less than or equal to the amount

Void an Authorization


curl https://finix.sandbox-payments-api.com/authorizations/AUdewvSKCTaas8Gxhsx5mMt9 \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -X PUT \
    -d '
    {
        "void_me": true
    }'

Example Response:

{
  "id" : "AUdewvSKCTaas8Gxhsx5mMt9",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "amount" : 100,
  "tags" : {
    "order_number" : "21DFASJSAKAS"
  },
  "state" : "SUCCEEDED",
  "currency" : "USD",
  "transfer" : null,
  "messages" : [ ],
  "raw" : null,
  "created_at" : "2021-07-28T18:26:56.15Z",
  "updated_at" : "2021-07-28T18:26:59.69Z",
  "trace_id" : "2ad665d7-bd03-4bde-882b-d7cc1f6efc7f",
  "source" : "PIqf952xmeuiF179wdMiPXrW",
  "merchant_identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "3ds_redirect_url" : null,
  "is_void" : true,
  "void_state" : "PENDING",
  "expires_at" : "2021-08-04T18:26:56.15Z",
  "idempotency_id" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations/AUdewvSKCTaas8Gxhsx5mMt9"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "merchant_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    }
  }
}

Cancels the Authorization, releasing the funds. If an Authorization is voided, it can no longer be captured.

HTTP Request

PUT https://finix.sandbox-payments-api.com/authorizations/:AUTHORIZATION_ID

URL Parameters

Parameter Description
:AUTHORIZATION_ID ID of the Authorization

Request Arguments

Field Type Description
void_me boolean, required Set to True to void the Authorization

Fetch an Authorization


curl https://finix.sandbox-payments-api.com/authorizations/AUqC4UCs1eg4dV9neqrJnnke \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e

Example Response:

{
  "id" : "AUqC4UCs1eg4dV9neqrJnnke",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "amount" : 100,
  "tags" : {
    "order_number" : "21DFASJSAKAS"
  },
  "state" : "SUCCEEDED",
  "currency" : "USD",
  "transfer" : "TRtnUgnVFpWGZeWa2Rv6rFHQ",
  "messages" : [ ],
  "raw" : null,
  "created_at" : "2021-07-28T18:26:29.15Z",
  "updated_at" : "2021-07-28T18:26:34.65Z",
  "trace_id" : "29405f27-47b3-4a12-b026-551c4f86c758",
  "source" : "PIqf952xmeuiF179wdMiPXrW",
  "merchant_identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "3ds_redirect_url" : null,
  "is_void" : false,
  "void_state" : "UNATTEMPTED",
  "expires_at" : "2021-08-04T18:26:29.15Z",
  "idempotency_id" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations/AUqC4UCs1eg4dV9neqrJnnke"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "transfer" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TRtnUgnVFpWGZeWa2Rv6rFHQ"
    },
    "merchant_identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    }
  }
}

Fetch a previously created Authorization.

HTTP Request

GET https://finix.sandbox-payments-api.com/authorizations/:AUTHORIZATION_ID

URL Parameters

Parameter Description
:AUTHORIZATION_ID ID of the Authorization

List All Authorizations

curl https://finix.sandbox-payments-api.com/authorizations/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e

Example Response:

{
  "_embedded" : {
    "authorizations" : [ {
      "id" : "AUdewvSKCTaas8Gxhsx5mMt9",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "amount" : 100,
      "tags" : {
        "order_number" : "21DFASJSAKAS"
      },
      "state" : "SUCCEEDED",
      "currency" : "USD",
      "transfer" : null,
      "messages" : [ ],
      "raw" : null,
      "created_at" : "2021-07-28T18:26:56.15Z",
      "updated_at" : "2021-07-28T18:27:01.06Z",
      "trace_id" : "2ad665d7-bd03-4bde-882b-d7cc1f6efc7f",
      "source" : "PIqf952xmeuiF179wdMiPXrW",
      "merchant_identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
      "3ds_redirect_url" : null,
      "is_void" : true,
      "void_state" : "SUCCEEDED",
      "expires_at" : "2021-08-04T18:26:56.15Z",
      "idempotency_id" : null,
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/authorizations/AUdewvSKCTaas8Gxhsx5mMt9"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        },
        "merchant_identity" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
        }
      }
    }, {
      "id" : "AUrgdxDaSTxtGyVaKhgEYZ3f",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "amount" : 100,
      "tags" : {
        "order_number" : "21DFASJSAKAS"
      },
      "state" : "SUCCEEDED",
      "currency" : "USD",
      "transfer" : null,
      "messages" : [ ],
      "raw" : null,
      "created_at" : "2021-07-28T18:26:36.52Z",
      "updated_at" : "2021-07-28T18:26:36.69Z",
      "trace_id" : "61fbf486-508d-4e9c-9a0d-4d7647ee168f",
      "source" : "PIqf952xmeuiF179wdMiPXrW",
      "merchant_identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
      "3ds_redirect_url" : null,
      "is_void" : false,
      "void_state" : "UNATTEMPTED",
      "expires_at" : "2021-08-04T18:26:36.52Z",
      "idempotency_id" : "8773e521e63340e8a941559e48ceb52a",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/authorizations/AUrgdxDaSTxtGyVaKhgEYZ3f"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        },
        "merchant_identity" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
        }
      }
    }, {
      "id" : "AUfL88hFUdBgkmA9Ytk25LE3",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "amount" : 100,
      "tags" : {
        "order_number" : "21DFASJSAKAS"
      },
      "state" : "SUCCEEDED",
      "currency" : "USD",
      "transfer" : null,
      "messages" : [ ],
      "raw" : null,
      "created_at" : "2021-07-28T18:26:33.93Z",
      "updated_at" : "2021-07-28T18:26:34.07Z",
      "trace_id" : "5fde513d-dbc9-4d84-a915-a05221cd82fc",
      "source" : "PIqf952xmeuiF179wdMiPXrW",
      "merchant_identity" : "IDnj7MkxQSuwpKjvB5NKNipc",
      "3ds_redirect_url" : null,
      "is_void" : false,
      "void_state" : "UNATTEMPTED",
      "expires_at" : "2021-08-04T18:26:33.93Z",
      "idempotency_id" : null,
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/authorizations/AUfL88hFUdBgkmA9Ytk25LE3"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        },
        "merchant_identity" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc"
        }
      }
    }, {
      "id" : "AUqC4UCs1eg4dV9neqrJnnke",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "amount" : 100,
      "tags" : {
        "order_number" : "21DFASJSAKAS"
      },
      "state" : "SUCCEEDED",
      "currency" : "USD",
      "transfer" : "TRtnUgnVFpWGZeWa2Rv6rFHQ",
      "messages" : [ ],
      "raw" : null,
      "created_at" : "2021-07-28T18:26:29.15Z",
      "updated_at" : "2021-07-28T18:26:34.65Z",
      "trace_id" : "29405f27-47b3-4a12-b026-551c4f86c758",
      "source" : "PIqf952xmeuiF179wdMiPXrW",
      "merchant_identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
      "3ds_redirect_url" : null,
      "is_void" : false,
      "void_state" : "UNATTEMPTED",
      "expires_at" : "2021-08-04T18:26:29.15Z",
      "idempotency_id" : null,
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/authorizations/AUqC4UCs1eg4dV9neqrJnnke"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        },
        "transfer" : {
          "href" : "https://finix.sandbox-payments-api.com/transfers/TRtnUgnVFpWGZeWa2Rv6rFHQ"
        },
        "merchant_identity" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
        }
      }
    }, {
      "id" : "AU9P2DBpB6ZTD234qWcfcj5G",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "amount" : 573786,
      "tags" : {
        "test" : "sale"
      },
      "state" : "SUCCEEDED",
      "currency" : "USD",
      "transfer" : null,
      "messages" : [ ],
      "raw" : null,
      "created_at" : "2021-07-28T18:25:54.16Z",
      "updated_at" : "2021-07-28T18:25:54.42Z",
      "trace_id" : "aa602480-585e-4bd3-9c2e-7abb5ef9fd40",
      "source" : "PIqf952xmeuiF179wdMiPXrW",
      "merchant_identity" : "IDnj7MkxQSuwpKjvB5NKNipc",
      "3ds_redirect_url" : null,
      "is_void" : false,
      "void_state" : "UNATTEMPTED",
      "expires_at" : "2021-08-04T18:25:54.16Z",
      "idempotency_id" : null,
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/authorizations/AU9P2DBpB6ZTD234qWcfcj5G"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        },
        "merchant_identity" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations?offset=0&limit=20&sort=created_at,desc&sort=id,desc"
    }
  },
  "page" : {
    "offset" : 0,
    "limit" : 20,
    "count" : 5
  }
}

List all Authorizations.

HTTP Request

GET https://finix.sandbox-payments-api.com/authorizations/

Devices

A Device resource represents a Point-of-Sale terminal. Devices are used for Card-Present transactions.

Create Device

curl https://finix.sandbox-payments-api.com/merchants/MUu56ZGx3Xb6U9gAqKfgNisd/devices \
        -H "Content-Type: application/vnd.json+api" \
        -u  USjHFGYvecE4LBitYG8KDE2g:b698f403-d9b7-4157-82d8-162cea8c8cc3 \
        -d '
      {
        "name": "Finix  triPOS #1",
        "model": "MX915",
        "description": "Mike Jones",
        "configuration": {
          "allow_debit": true,
          "prompt_signature": "NEVER"
        }
      }'

HTTP Request

POST https://finix.sandbox-payments-api.com/merchants/:MERCHANT_ID/devices

URL Parameters

Field Type Description
:MERCHANT_ID string, required ID of Merchant

Request Arguments

Field Type Description
model string, required Please select one of the following values which will let Finix know the type of device being used: BBPOS, MX915, MX925, IPP320, IPP350, ISC250, ISC480, ISMP4, LANE_3000, and ANDROID
name string, required Name of device
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)
description string, optional Additional information about device (e.g. self serving terminal)

Configuration Arguments

Field Type Description
allow_debit boolean, optional Sets whether device will allow debit by default or not (defaults to true)
prompt_signature string, optional Sets whether device will prompt the card holder for a signature by default or not, AMOUNT is used in conjuction with signature_threshold_amount so that when the threshold is reached the signature form appears on device screen (defaults to always). Options are: ALWAYS, NEVER, AMOUNT
check_for_duplicate_transactions boolean, optional Sets whether the device will check for duplicate transactions
prompt_amount_confirmation boolean, optional Sets whether or not to make card holder confirm the amount they will pay (defaults is true)
signature_threshold_amount integer, optional Threshold set for when to prompt a signature prompt_signature is set to AMOUNT (defaults to 0)
prompt_manual_entry boolean, optional Sets whether or not the default card input method will be keyed in manual entry or not (defaults to false)
{
  "id" : "DVf2H8sh4LZZC52GTUrwCPPf",
  "merchant" : "MUu56ZGx3Xb6U9gAqKfgNisd",
  "name" : "Finix  triPOS #1",
  "model" : "MX915",
  "description" : "Mike Jones",
  "serial_number" : null,
  "idle_message" : null,
  "enabled" : false,
  "device_config_details" : {
    "allow_debit" : true,
    "check_for_duplicate_transactions" : true,
    "prompt_amount_confirmation" : true,
    "prompt_manual_entry" : false,
    "prompt_signature" : "NEVER",
    "signature_threshold_amount" : 0
  },
  "created_at" : "2019-03-01T01:07:17.015",
  "updated_at" : "2019-03-01T01:07:17.022",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf"
    },
    "activations" : {
      "href" : "https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf/activations"
    },
    "merchant" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUu56ZGx3Xb6U9gAqKfgNisd"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations"
    }
  }
}

Activate Device

curl https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf \
  -H "Content-Type: application/vnd.json+api" \
  -u  USjHFGYvecE4LBitYG8KDE2g:b698f403-d9b7-4157-82d8-162cea8c8cc3 \
  -X PUT \
  -d '
    {
      "activation_code": "C887298",
      "action": "ACTIVATE"
    }'

HTTP Request

PUT https://finix.sandbox-payments-api.com/devices/:DEVICE_ID

URL Parameters

Field Type Description
:DEVICE_ID string, required ID of Device

Request Arguments

Field Type Description
activation_code string, required Input the code thats show up on the device screen
action string, required The action parameter must include ACTIVATE for to enable device
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)
{
  "id" : "DVf2H8sh4LZZC52GTUrwCPPf",
  "merchant" : "MUu56ZGx3Xb6U9gAqKfgNisd",
  "name" : "Finix Tripos #1",
  "model" : "MX915",
  "description" : "Mike Jones",
  "serial_number" : "262-410-025",
  "idle_message" : null,
  "enabled" : true,
  "tags" : { },
  "created_at" : "2019-03-01T02:27:20.366",
  "updated_at" : "2019-03-11T23:19:44.378",
  "configuration_details" : {
    "allow_debit" : true,
    "check_for_duplicate_transactions" : true,
    "prompt_amount_confirmation" : true,
    "prompt_manual_entry" : false,
    "prompt_signature" : "NEVER",
    "signature_threshold_amount" : 0
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf"
    },
    "merchant" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUu56ZGx3Xb6U9gAqKfgNisd"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations"
    }
  }
}

Fetch Device

curl https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf \
           -H "Content-Type: application/vnd.json+api" \
           -u   USjHFGYvecE4LBitYG8KDE2g:b698f403-d9b7-4157-82d8-162cea8c8cc3

HTTP Request

GET https://finix.sandbox-payments-api.com/devices/:DEVICE_ID

URL Parameters

Field Type Description
:DEVICE_ID string, required ID of Device
  {
  "id" : "DVf2H8sh4LZZC52GTUrwCPPf",
  "merchant" : "MUu56ZGx3Xb6U9gAqKfgNisd",
  "name" : "Finix Tripos #1",
  "model" : "MX915",
  "description" : "Mike Jones",
  "serial_number" : "262-410-025",
  "idle_message" : null,
  "enabled" : true,
  "tags" : { },
  "created_at" : "2019-03-01T02:27:20.366",
  "updated_at" : "2019-03-11T23:35:55.633",
  "configuration_details" : {
    "allow_debit" : true,
    "check_for_duplicate_transactions" : true,
    "prompt_amount_confirmation" : true,
    "prompt_manual_entry" : false,
    "prompt_signature" : "NEVER",
    "signature_threshold_amount" : 0
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf"
    },
    "merchant" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUu56ZGx3Xb6U9gAqKfgNisd"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations"
    }
  }
}

Reboot Device

curl https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf \
   -H "Content-Type: application/vnd.json+api" \
   -u  USjHFGYvecE4LBitYG8KDE2g:b698f403-d9b7-4157-82d8-162cea8c8cc3 \
   -X PUT \
   -d '
   {
       "action": "REBOOT"
   }'

HTTP Request

PUT https://finix.sandbox-payments-api.com/devices/:DEVICE_ID

URL Parameters

Field Type Description
:DEVICE_ID string, required ID of Device

Request Arguments

Field Type Description
action string, required The action parameter must include REBOOT to reboot the device
{
  "id" : "DVf2H8sh4LZZC52GTUrwCPPf",
  "merchant" : "MUu56ZGx3Xb6U9gAqKfgNisd",
  "name" : "Finix Tripos #1",
  "model" : "MX915",
  "description" : "Mike Jones",
  "serial_number" : "262-410-025",
  "idle_message" : null,
  "enabled" : true,
  "tags" : { },
  "created_at" : "2019-03-01T02:27:20.366",
  "updated_at" : "2019-03-11T23:22:39.690",
  "configuration_details" : {
    "allow_debit" : true,
    "check_for_duplicate_transactions" : true,
    "prompt_amount_confirmation" : true,
    "prompt_manual_entry" : false,
    "prompt_signature" : "NEVER",
    "signature_threshold_amount" : 0
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf"
    },
    "merchant" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUu56ZGx3Xb6U9gAqKfgNisd"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations"
    }
  }

Set Idle Message on Device

curl https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf \
-H "Content-Type: application/vnd.json+api" \
-u  USjHFGYvecE4LBitYG8KDE2g:b698f403-d9b7-4157-82d8-162cea8c8cc3 \
-X PUT \
-d '
  {
    "idle_message": "Michaels Juice Shop",
    "action": "CREATE_IDLE_MESSAGE"
  }'

HTTP Request

PUT https://finix.sandbox-payments-api.com/devices/:DEVICE_ID

URL Parameters

Field Type Description
:DEVICE_ID string, required ID of Device

Request Arguments

Field Type Description
idle_message string, required ID of Device
action string, required The action parameter must include CREATE_IDLE_MESSAGE to create an idle message
{
  "id" : "DVf2H8sh4LZZC52GTUrwCPPf",
  "merchant" : "MUu56ZGx3Xb6U9gAqKfgNisd",
  "name" : "Finix Tripos #1",
  "model" : "MX915",
  "description" : "Mike Jones",
  "serial_number" : "262-410-025",
  "idle_message" : "Michaels Juice Shop",
  "enabled" : true,
  "tags" : { },
  "created_at" : "2019-03-01T02:27:20.366",
  "updated_at" : "2019-03-11T23:19:44.399",
  "configuration_details" : {
    "allow_debit" : true,
    "check_for_duplicate_transactions" : true,
    "prompt_amount_confirmation" : true,
    "prompt_manual_entry" : false,
    "prompt_signature" : "NEVER",
    "signature_threshold_amount" : 0
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf"
    },
    "merchant" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUu56ZGx3Xb6U9gAqKfgNisd"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations"
    }
  }
}

Check Connectivity of Device

curl https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf?include_connection\=true \
   -H "Content-Type: application/vnd.json+api" \
   -u  USjHFGYvecE4LBitYG8KDE2g:b698f403-d9b7-4157-82d8-162cea8c8cc3

HTTP Request

GET https://finix.sandbox-payments-api.com/devices/:DEVICE_ID

URL Parameters

Field Type Description
DEVICE_ID string, required ID of Device
  {
  "id" : "DVf2H8sh4LZZC52GTUrwCPPf",
  "merchant" : "MUu56ZGx3Xb6U9gAqKfgNisd",
  "name" : "Finix Tripos #1",
  "model" : "MX915",
  "description" : "Mike Jones",
  "serial_number" : "262-410-025",
  "idle_message" : null,
  "connection" : "Open",
  "enabled" : true,
  "tags" : { },
  "created_at" : "2019-03-01T02:27:20.366",
  "updated_at" : "2019-03-11T23:35:55.633",
  "configuration_details" : {
    "allow_debit" : true,
    "check_for_duplicate_transactions" : true,
    "prompt_amount_confirmation" : true,
    "prompt_manual_entry" : false,
    "prompt_signature" : "NEVER",
    "signature_threshold_amount" : 0
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf"
    },
    "merchant" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUu56ZGx3Xb6U9gAqKfgNisd"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/authorizations"
    }
  }
}

Deactivate Device

curl https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf \
     -H "Content-Type: application/vnd.json+api" \
     -u  USjHFGYvecE4LBitYG8KDE2g:b698f403-d9b7-4157-82d8-162cea8c8cc3 \
     -X PUT \
     -d '
       {
           "action": "DEACTIVATE"
       }'

HTTP Request

PUT https://finix.sandbox-payments-api.com/devices/:DEVICE_ID

URL Parameters

Field Type Description
:DEVICE_ID string, required ID of Device

Request Arguments

Field Type Description
action string, required The action parameter must include DEACTIVATE to deactivate the device
    {
      "id" : "DVf2H8sh4LZZC52GTUrwCPPf",
      "merchant" : "MUu56ZGx3Xb6U9gAqKfgNisd",
      "name" : "Finix Tripos #1",
      "model" : "MX915",
      "description" : "Mike Jones",
      "serial_number" : null,
      "idle_message" : null,
      "enabled" : false,
      "tags" : { },
      "created_at" : "2019-03-01T02:27:20.366",
      "updated_at" : "2019-03-11T23:30:05.816",
      "configuration_details" : null,
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf"
        },
        "merchant" : {
          "href" : "https://finix.sandbox-payments-api.com/merchants/MUu56ZGx3Xb6U9gAqKfgNisd"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/transfers"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/authorizations"
        }
      }
    }

Disputes

Disputes, also known as chargebacks, represent any customer-disputed charge. The respond_by field id set by the upstream Processor and is the date the Merchant needs to submit evidence that supports their claim.

Upload Dispute Evidence

curl https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/evidence \
    -H "Content-Type: application/pdf/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -F 'data=@path/to/local/file' testfile.pdf

Example Response:


    {
        "tags": {
            "content-type": "application/pdf",
            "file-extension": ".pdf",
            "file-name": "testfile.pdf"
        },
        "created_at": "2021-07-28T18:50:09.64Z",
        "updated_at": "2021-07-28T18:50:09.64Z",
        "state": "PENDING",
        "_links": {
            "self": {
                "href": "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/evidence/DF6w8k4hth1AXcNWD2ix75k4"
            }
        },
        "id": "DF6w8k4hth1AXcNWD2ix75k4",
        "dispute": "DIfD5GyoBmRuVBHsp5UqZi3P"
    }

A core part of the dispute lifecycle is the ability for a Merchant to upload Dispute evidence that supports their side of the Dispute. It is recommended you provide as much supporting evidence as possible.

There are four available values that indicate the state of the evidence upload:

HTTP Request

POST https://finix.sandbox-payments-api.com/disputes/:DISPUTE_ID/evidence

Fetch a Dispute


curl https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e


Example Response:

{
  "id" : "DIfD5GyoBmRuVBHsp5UqZi3P",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "tags" : {
    "order_number" : "21DFASJSAKAS"
  },
  "amount" : 888888,
  "state" : "PENDING",
  "transfer" : "TR7So3MLzAUfufh4t4BUV71T",
  "reason" : "FRAUD",
  "message" : null,
  "action" : null,
  "identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "created_at" : "2021-07-28T18:40:10.48Z",
  "updated_at" : "2021-07-28T18:40:21.26Z",
  "occurred_at" : "2021-07-28T18:40:01.52Z",
  "respond_by" : "2021-08-04T18:40:10.13Z",
  "dispute_details" : {
    "arn" : "123"
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "transfer" : {
      "href" : "https://finix.sandbox-payments-api.com/transfers/TR7So3MLzAUfufh4t4BUV71T"
    },
    "evidence" : {
      "href" : "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/evidence"
    },
    "adjustment_transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/adjustment_transfers"
    }
  }
}

Fetch a previously created Dispute.

HTTP Request

GET https://finix.sandbox-payments-api.com/disputes/:DISPUTE_ID

URL Parameters

Parameter Description
:DISPUTE_ID ID of the Dispute

Response

Field Type Description
state integer The current state of the Dispute. It is one of the following values: INQUIRY, PENDING, WON, or LOST
reason integer The system defined reason for the Dispute. It is one of the following values: INQUIRY, QUALITY, CLERICAL, FRAUD, or TECHNICAL

List All Disputes

curl https://finix.sandbox-payments-api.com/disputes/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e

Example Response:

{
  "_embedded" : {
    "disputes" : [ {
      "id" : "DIfD5GyoBmRuVBHsp5UqZi3P",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "tags" : {
        "order_number" : "21DFASJSAKAS"
      },
      "amount" : 888888,
      "state" : "PENDING",
      "transfer" : "TR7So3MLzAUfufh4t4BUV71T",
      "reason" : "FRAUD",
      "message" : null,
      "action" : null,
      "identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
      "created_at" : "2021-07-28T18:40:10.48Z",
      "updated_at" : "2021-07-28T18:40:21.26Z",
      "occurred_at" : "2021-07-28T18:40:01.52Z",
      "respond_by" : "2021-08-04T18:40:10.13Z",
      "dispute_details" : {
        "arn" : "123"
      },
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        },
        "transfer" : {
          "href" : "https://finix.sandbox-payments-api.com/transfers/TR7So3MLzAUfufh4t4BUV71T"
        },
        "evidence" : {
          "href" : "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/evidence"
        },
        "adjustment_transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/adjustment_transfers"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/disputes?offset=0&limit=20&sort=created_at,desc&sort=id,desc"
    }
  },
  "page" : {
    "offset" : 0,
    "limit" : 20,
    "count" : 1
  }
}

List all Disputes.

HTTP Request

GET https://finix.sandbox-payments-api.com/disputes/

Response

Field Type Description
state integer The current state of the Dispute. It is one of the following values: INQUIRY, PENDING, WON, or LOST
reason integer The system defined reason for the Dispute. It is one of the following values: INQUIRY, QUALITY, CLERICAL, FRAUD, or TECHNICAL

Fetch Dispute Adjustment Transfers


curl https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/adjustment_transfers \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e

Example Response:

{
  "_embedded" : {
    "transfers" : [ {
      "id" : "TR8rycaBQDitwAfZdzgzu4fG",
      "amount" : 888888,
      "tags" : { },
      "state" : "SUCCEEDED",
      "trace_id" : "304364a9-9a8a-4b08-9dcd-9ef860a5730c",
      "currency" : "USD",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "source" : null,
      "destination" : null,
      "ready_to_settle_at" : "2021-07-28T18:40:10.86Z",
      "fee" : 0,
      "statement_descriptor" : null,
      "type" : "DISPUTE",
      "messages" : [ ],
      "raw" : null,
      "created_at" : "2021-07-28T18:40:10.90Z",
      "updated_at" : "2021-07-28T18:40:21.26Z",
      "idempotency_id" : null,
      "merchant_identity" : "ID8bW3W9DmKEgFYF4GfDJ8or",
      "subtype" : "PLATFORM_CREDIT",
      "_links" : {
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        },
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/transfers/TR8rycaBQDitwAfZdzgzu4fG"
        },
        "merchant_identity" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID8bW3W9DmKEgFYF4GfDJ8or"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/transfers/TR8rycaBQDitwAfZdzgzu4fG/payment_instruments"
        },
        "disputed_transfer" : {
          "href" : "https://finix.sandbox-payments-api.com/transfers/TR8rycaBQDitwAfZdzgzu4fG/disputed_transfer"
        },
        "fee_profile" : {
          "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPud9p3x8Y1voDAECghgus2m"
        }
      }
    }, {
      "id" : "TRiZGFCa1KjMrS3VgM1BH3bT",
      "amount" : 888888,
      "tags" : { },
      "state" : "SUCCEEDED",
      "trace_id" : "f085a938-8a8c-4545-8dec-c32fee1ceb15",
      "currency" : "USD",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "source" : null,
      "destination" : "PIqf952xmeuiF179wdMiPXrW",
      "ready_to_settle_at" : "2021-07-28T18:40:10.53Z",
      "fee" : 0,
      "statement_descriptor" : null,
      "type" : "DISPUTE",
      "messages" : [ ],
      "raw" : null,
      "created_at" : "2021-07-28T18:40:10.56Z",
      "updated_at" : "2021-07-28T18:40:21.26Z",
      "idempotency_id" : null,
      "merchant_identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
      "subtype" : "MERCHANT_DEBIT",
      "_links" : {
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        },
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/transfers/TRiZGFCa1KjMrS3VgM1BH3bT"
        },
        "merchant_identity" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/transfers/TRiZGFCa1KjMrS3VgM1BH3bT/payment_instruments"
        },
        "disputed_transfer" : {
          "href" : "https://finix.sandbox-payments-api.com/transfers/TRiZGFCa1KjMrS3VgM1BH3bT/disputed_transfer"
        },
        "destination" : {
          "href" : "https://finix.sandbox-payments-api.com/payment_instruments/PIqf952xmeuiF179wdMiPXrW"
        },
        "fee_profile" : {
          "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPqJ6DqFYuMzUqA4kyuKgyFq"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/adjustment_transfers?offset=0&limit=20&sort=created_at,desc&sort=id,desc"
    }
  },
  "page" : {
    "offset" : 0,
    "limit" : 20,
    "count" : 2
  }
}

List the adjustment Transfers for a Dispute. Depending on the stage of the Dispute, different adjustment Transfer subtypes can be applied. There are four available subtypes: PLATFORM_CREDIT, MERCHANT_DEBIT, MERCHANT_CREDIT, and PLATFORM_DEBIT.

HTTP Request

GET https://finix.sandbox-payments-api.com/disputes/:DISPUTE_ID/adjustment_transfers

URL Parameters

Parameter Description
:DISPUTE_ID ID of the Dispute

Response

Field Type Description
id string ID of the Transfer
amount integer The total amount to be adjusted in cents
application string ID of the Application
currency string 3-letter ISO code designating the currency of the adjustment
destination string ID of the Payment Instrument where funds are deposited
fee integer The amount of the adjustment you would like to collect as your Fee in cents. Defaults to zero (must be less than or equal to the amount)
idempotency_id string A randomly generated value that you want associated with the request
merchant_identity string The ID of the Identity for the Merchant that you are transacting or charging on behalf of
messages string Message field that provides additional details. This field is typically null
raw string Raw card data. This field is typically null
ready_to_settle_at string Timestamp of when the Transfer is ready to be settled
source string ID of the Payment Instrument where funds are debited
state string The state of the Transfer. There are four available values: PENDING, SUCCEEDED, CANCELED, or FAILED
statement_descriptor string Billing descriptor displayed on the buyer’s bank or card statement (Length must be between 1 and 20 characters)
subtype string Specifies money movement to and from the Merchant. There are four available subtypes: PLATFORM_CREDIT, MERCHANT_DEBIT, MERCHANT_CREDIT, and PLATFORM_DEBIT
tags object Key value pair for annotating custom meta data
trace_id string Trace ID
type string Type of adjustment. There is one available value: DISPUTE
created_at string Timestamp of when the adjustment was created
updated_at string Timestamp of when the adjustment was updated

Fetch a Dispute Evidence File


curl https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/evidence/DF6w8k4hth1AXcNWD2ix75k4 \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e

Example Response:

{
  "id" : "DF6w8k4hth1AXcNWD2ix75k4",
  "tags" : {
    "file-extension" : ".pdf",
    "content-type" : "application/pdf",
    "file-name" : "testfile.pdf"
  },
  "dispute" : "DIfD5GyoBmRuVBHsp5UqZi3P",
  "state" : "PENDING",
  "created_at" : "2021-07-28T18:50:09.64Z",
  "updated_at" : "2021-07-28T18:50:10.06Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/evidence/DF6w8k4hth1AXcNWD2ix75k4"
    }
  }
}

Fetch a previously uploaded Dispute evidence file. Users can view the status of their evidence upload to check if the file was successfully sent to the processor if they do not have access to the Dashboard.

HTTP Request

GET https://finix.sandbox-payments-api.com/disputes/:DISPUTE_ID/evidence/:EVIDENCE_ID

URL Parameters

Parameter Description
:DISPUTE_ID ID of the Dispute
:EVIDENCE_ID ID of the Dispute evidence file

Response

Field Type Description
id string ID of the Dispute evidence file
content_type string Specifies the data being sent to and from the client
dispute string ID of the Dispute
file_extension string File format type
file_name string Dispute file name
state string The state of the evidence upload. There are four available values: PENDING, SUCCEEDED, CANCELED, or FAILED
tags object Key value pair for annotating custom meta data
created_at string Timestamp of when the Dispute evidence file was created
updated_at string Timestamp of when the Dispute evidence file was updated

List Dispute Evidence Files


curl https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/evidence \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e

Example Response:

{
  "_embedded" : {
    "evidences" : [ {
      "id" : "DF6w8k4hth1AXcNWD2ix75k4",
      "tags" : {
        "file-extension" : ".pdf",
        "content-type" : "application/pdf",
        "file-name" : "testfile.pdf"
      },
      "dispute" : "DIfD5GyoBmRuVBHsp5UqZi3P",
      "state" : "PENDING",
      "created_at" : "2021-07-28T18:50:09.64Z",
      "updated_at" : "2021-07-28T18:50:10.06Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/evidence/DF6w8k4hth1AXcNWD2ix75k4"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/disputes/DIfD5GyoBmRuVBHsp5UqZi3P/evidence?offset=0&limit=20&sort=created_at,desc&sort=id,desc"
    }
  },
  "page" : {
    "offset" : 0,
    "limit" : 20,
    "count" : 1
  }
}

List all uploaded Dispute evidence files.

HTTP Request

GET https://finix.sandbox-payments-api.com/disputes/:DISPUTE_ID/evidence

URL Parameters

Parameter Description
:DISPUTE_ID ID of the Dispute

Response

Field Type Description
id string ID of the Dispute evidence file
content_type string Specifies the data being sent to and from the client
dispute string ID of the Dispute
file_extension string File format type
file_name string Dispute file name
state string The state of the evidence upload. There are four available values: PENDING, SUCCEEDED, CANCELED, or FAILED
tags object Key value pair for annotating custom meta data
created_at string Timestamp of when the Dispute evidence file was created
updated_at string Timestamp of when the Dispute evidence file was updated

Fee Profiles

Introduction

A Fee Profile represents a pricing scheme that automatically applies Fees to each transaction. Depending on the payout plan, a Merchant can have their fees automatically deducted at time of Settlement or have the Fees applied at the end of the month. The payout plan dictates when fees are deducted and disbursed as a credit to the payment facilitator.

The current design of the Fee Profile supports interchange plus, percentage-based fees, (e.g. 2.9%), and fixed-based fees (e.g.$2.00 per transaction), card network-specific fees, and other Fee configurations.

The payment facilitator creates the default Fee Profile at the Platform level. The creation of the Platform Fee Profile is mandatory and is completed in partnership with a Finix team member.

Inheritance

The Platform Fee Profile can be cloned down to associated Applications and Merchants. The default Platform Fee Profile can be overridden at both the Merchant and Application level. When this occurs, a new Fee Profile is created and associated to the Application(s) and or the Merchant(s).

Associate Fee Profile to an Application

Step 1: Create New Application Fee Profile

curl https://finix.sandbox-payments-api.com/fee_profiles \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "ach_fixed_fee": 30,
        "tags": {
            "app pricing": "sample"
        },
        "basis_points": 200,
        "application": "APkSa6G63hcfYPak632WZ97m",
        "charge_interchange": false,
        "fixed_fee": 100,
        "ach_basis_points": 300
    }'

Example Response:

{
  "id" : "FPud9p3x8Y1voDAECghgus2m",
  "tags" : { },
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "fixed_fee" : 100,
  "ancillary_fixed_fee_primary" : null,
  "ancillary_fixed_fee_secondary" : null,
  "basis_points" : 200,
  "ach_basis_points" : 300,
  "ach_fixed_fee" : 30,
  "charge_interchange" : false,
  "dispute_inquiry_fixed_fee" : null,
  "dispute_fixed_fee" : null,
  "ach_debit_return_fixed_fee" : null,
  "ach_credit_return_fixed_fee" : null,
  "visa_basis_points" : null,
  "visa_fixed_fee" : null,
  "visa_charge_interchange" : null,
  "visa_assessments_basis_points" : null,
  "visa_acquirer_processing_fixed_fee" : null,
  "visa_credit_voucher_fixed_fee" : null,
  "visa_kilobyte_access_fixed_fee" : null,
  "discover_basis_points" : null,
  "discover_fixed_fee" : null,
  "discover_charge_interchange" : null,
  "discover_assessments_basis_points" : null,
  "discover_data_usage_fixed_fee" : null,
  "discover_network_authorization_fixed_fee" : null,
  "diners_club_basis_points" : null,
  "diners_club_fixed_fee" : null,
  "diners_club_charge_interchange" : null,
  "mastercard_basis_points" : null,
  "mastercard_fixed_fee" : null,
  "mastercard_charge_interchange" : null,
  "mastercard_assessments_under1k_basis_points" : null,
  "mastercard_assessments_over1k_basis_points" : null,
  "mastercard_acquirer_fees_basis_points" : null,
  "jcb_basis_points" : null,
  "jcb_fixed_fee" : null,
  "jcb_charge_interchange" : null,
  "american_express_basis_points" : null,
  "american_express_fixed_fee" : null,
  "american_express_charge_interchange" : null,
  "american_express_assessment_basis_points" : null,
  "rounding_mode" : "TRANSACTION",
  "qualified_tiers" : null,
  "created_at" : "2021-07-28T18:27:46.56Z",
  "updated_at" : "2021-07-28T18:27:46.56Z",
  "visa_base_II_system_file_transmission_fixed_fee" : null,
  "visa_base_II_credit_voucher_fixed_fee" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPud9p3x8Y1voDAECghgus2m"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

The creation of a Fee Profile for an Application affects the Application and its Merchants that do not have their own Fee Profile. If a Merchant has an existing Fee Profile, they do not inherit the Application’s Fee Profile. If the Merchant’s fee_profile is set to null, they inherit the Application’s fee_profile.

The fee_profile is listed in the ID response field; it has a prefix of FP. The fee_profile is required in the next steps.

HTTP Request

POST https://finix.sandbox-payments-api.com/fee_profiles

Request Arguments

Field Type Description
application string, required ID of Application
basis_points decimal, optional Percentage-based fee incurred against the full amount of each card-based Transfer. Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
fixed_fee decimal, optional Fee in cents incurred for each individual card-based Transfer
ach_basis_points decimal, optional Percentage-based fee incurred against the full amount of an eCheck (ACH Debit). Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
ach_fixed_fee decimal, optional Fee in cents incurred for each individual Transfer
ancillary_fixed_fee_primary integer, optional An additional fixed fee that can be charged per Transfer
ancillary_fixed_fee_secondary integer, optional An additional fixed fee that can be charged per Transfer if the ancillary_fixed_fee_primary is passed
charge_interchange boolean, optional Set to True to incur interchange fees for card-based Transfers
dispute_inquiry_fixed_fee decimal, optional Applied when a dispute is created in state INQUIRY
dispute_fixed_fee decimal, optional Applied when a dispute is created or moved to state PENDING
american_express_basis_points decimal, optional Percentage-based fee incurred against the full amount of each American Express Transfer. Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
american_express_fixed_fee decimal, optional Fee in cents incurred for each individual American Express Transfer
american_express_charge_interchange boolean, optional Set to True to incur interchange fees for American Express Transfers
american_express_assessment_basis_points decimal, optional Applies to gross American Express card volume
diners_club_basis_points decimal, optional Percentage-based fee incurred against the full amount of each Diners Transfer. Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
diners_club_fixed_fee decimal, optional Fee in cents incurred for each individual Diners Transfer
diners_club_charge_interchange boolean, optional Set to True to incur interchange fees for Diners Transfers
discover_basis_points decimal, optional Percentage-based fee incurred against the full amount of each Discover Transfer. Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
discover_fixed_fee decimal, optional Fee in cents incurred for each individual Discover Transfer
discover_charge_interchange boolean, optional Set to True to incur interchange fees for Discover Transfers
discover_assessments_basis_points decimal, optional Assessment applies to gross Discover card transaction volume
discover_data_usage_fixed_fee decimal, optional Applies to all U.S.-based authorization transactions
discover_network_authorization_fixed_fee decimal, optional This fee will applies to all Discover network authorizations and will replace the previously assessed Data Transmission
jcb_basis_points decimal, optional Percentage-based fee incurred against the full amount of each JCB Transfer. Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
jcb_fixed_fee decimal, optional Fee in cents incurred for each individual JCB Transfer
jcb_charge_interchange boolean, optional Set to True to incur interchange fees for JCB Transfers
mastercard_basis_points decimal, optional Percentage-based fee incurred against the full amount of each MasterCard Transfer. Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
mastercard_fixed_fee decimal, optional Fee in cents incurred for each individual MasterCard Transfer
mastercard_charge_interchange boolean, optional Set to True to incur interchange fees for MasterCard Transfers
mastercard_assessments_under1k_basis_points decimal, optional Assessment applies to Mastercard transactions less than or equal to $1,000
mastercard_assessments_over1k_basis_points decimal, optional Assessment applies to Mastercard credit sale transactions greater than $1,000
mastercard_acquirer_fees_basis_points decimal, optional Fee is assessed on a business’s gross MasterCard processing volume. This fee varies per acquirer based on MasterCard’s assessed charge as it’s distributed across the acquirer’s portfolio of merchants. Generally, the ALF fee is a fraction of a basis point. For example, 0.0045%, 0.0075%, etc. are examples of a likely ALF fee
visa_basis_points decimal, optional Percentage-based fee incurred against the full amount of each Visa Transfer. Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
visa_fixed_fee decimal, optional Fee in cents incurred for each individual Visa Transfer
visa_charge_interchange boolean, optional Set to True to incur interchange fees for Visa Transfers
visa_assessments_basis_points decimal, optional Applies to all Visa credit transactions
visa_acquirer_processing_fixed_fee decimal, optional All U.S.-based credit card authorizations acquired in the U.S. regardless of where the issuer/cardholder is located. If your business is based in the U.S., the acquirer processing fee will apply to all Visa credit card authorizations
visa_credit_voucher_fixed_fee decimal, optional Applies to refunds
visa_kilobyte_access_fixed_fee decimal, optional Charged on each authorization transaction submitted to Visa’s network for settlement
visa_base_II_system_file_transmission_fixed_fee decimal, optional Applies to all Visa transactions and is charged in addition to other transaction-based assessments
visa_base_II_credit_voucher_fixed_fee decimal, optional Applies to all U.S.-based refund
rounding_mode integer, optional Pass in AGGREGATE if you want to round after the settlement calculation. Default is rounding before the sum of the settlement calculation (i.e. round each fee transfer).
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)

Step 2: Locate Application Profile

curl https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m/application_profile \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041

Example Response:

{
  "id" : "PP2SJfw9AjZmbaBMPn9gyGqZ",
  "tags" : { },
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "fee_profile" : null,
  "risk_profile" : "RPvce318pmAhKDVdgne2MnNx",
  "created_at" : "2021-07-28T18:22:47.16Z",
  "updated_at" : "2021-07-28T18:22:47.63Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/application_profiles/PP2SJfw9AjZmbaBMPn9gyGqZ"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "risk_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/risk_profiles/RPvce318pmAhKDVdgne2MnNx"
    }
  }
}

Make a GET request with your Application ID. The application_profile is shown in the ID response field; it has a prefix of PP. The application_profile is required for the next step.

HTTP Request

GET https://finix.sandbox-payments-api.com/applications/:APPLICATION_ID/application_profile

URL Arguments

Field Type Description
:APPLICATION_ID string, required ID of the Application

Step 3: Update Application Profile

curl https://finix.sandbox-payments-api.com/application_profiles/PP2SJfw9AjZmbaBMPn9gyGqZ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -X PUT \
    -d '
    {
        "fee_profile": "FPud9p3x8Y1voDAECghgus2m"
    }'

Example Response:

{
  "id" : "PP2SJfw9AjZmbaBMPn9gyGqZ",
  "tags" : { },
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "fee_profile" : "FPud9p3x8Y1voDAECghgus2m",
  "risk_profile" : "RPvce318pmAhKDVdgne2MnNx",
  "created_at" : "2021-07-28T18:22:47.16Z",
  "updated_at" : "2021-07-28T18:27:57.27Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/application_profiles/PP2SJfw9AjZmbaBMPn9gyGqZ"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "risk_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/risk_profiles/RPvce318pmAhKDVdgne2MnNx"
    },
    "fee_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPud9p3x8Y1voDAECghgus2m"
    }
  }
}

Using the Application’s application_profile from step 2, make a PUT request to update the Application’s application_profile using the fee_profile from step 1.

HTTP Request

PUT https://finix.sandbox-payments-api.com/application_profiles/:APPLICATION_PROFILE

URL Arguments

Field Type Description
:APPLICATION_PROFILE string, required ID of the APPLICATION_PROFILE

Request Arguments

Field Type Description
fee_profile string, required ID of the fee_profile

Qualified Tiers

curl https://finix.sandbox-payments-api.com/fee_profiles \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "ach_fixed_fee": 30,
        "tags": {
            "app_pricing": "qualified billing"
        },
        "basis_points": 200,
        "application": "APkcbdWev9MSRA7hPSbzBnb2",
        "charge_interchange": false,
        "fixed_fee": 100,
        "ach_basis_points": 300,
        "qualified_tiers": {
            "american_express": {
                "credit": [
                    {
                        "display_name": "American Express Credit Qualified Rate",
                        "max_interchange": 175,
                        "fixed": 70,
                        "basis_points": 330
                    },
                    {
                        "display_name": "American Express Credit Mid-Qualified Rate",
                        "max_interchange": 239,
                        "fixed": 80,
                        "basis_points": 440
                    },
                    {
                        "display_name": "American Express Credit Non-Qualified Rate",
                        "fixed": 90,
                        "basis_points": 550
                    }
                ]
            },
            "visa": {
                "credit": [
                    {
                        "display_name": "Visa Credit Qualified Rate",
                        "max_interchange": 175,
                        "fixed": 30,
                        "basis_points": 225
                    },
                    {
                        "display_name": "Visa Credit Mid-Qualified Rate",
                        "max_interchange": 239,
                        "fixed": 40,
                        "basis_points": 325
                    },
                    {
                        "display_name": "Visa Credit Non-Qualified Rate",
                        "fixed": 50,
                        "basis_points": 375
                    }
                ],
                "debit": [
                    {
                        "display_name": "Visa Debit Qualified",
                        "max_interchange": 160,
                        "fixed": 25,
                        "basis_points": 225
                    },
                    {
                        "display_name": "Visa Debit Mid-Qualified",
                        "max_interchange": 200,
                        "fixed": 35,
                        "basis_points": 275
                    },
                    {
                        "display_name": "Visa Debit Non-Qualified",
                        "fixed": 40,
                        "basis_points": 325
                    }
                ]
            },
            "discover": {
                "credit": [
                    {
                        "display_name": "Discover Credit Qualified Rate",
                        "max_interchange": 175,
                        "fixed": 30,
                        "basis_points": 255
                    },
                    {
                        "display_name": "Discover Credit Mid-Qualified Rate",
                        "max_interchange": 239,
                        "fixed": 40,
                        "basis_points": 325
                    },
                    {
                        "display_name": "Discover Credit Non-Qualified Rate",
                        "fixed": 50,
                        "basis_points": 375
                    }
                ],
                "debit": [
                    {
                        "display_name": "Discover Debit Qualified Rate",
                        "max_interchange": 160,
                        "fixed": 25,
                        "basis_points": 225
                    },
                    {
                        "display_name": "Discover Debit Mid-Qualified Rate",
                        "max_interchange": 200,
                        "fixed": 35,
                        "basis_points": 275
                    },
                    {
                        "display_name": "Discover Debit Non-Qualified Rate",
                        "fixed": 40,
                        "basis_points": 325
                    }
                ]
            },
            "mastercard": {
                "credit": [
                    {
                        "display_name": "Mastercard Credit Qualified Rate",
                        "max_interchange": 175,
                        "fixed": 30,
                        "basis_points": 255
                    },
                    {
                        "display_name": "Mastercard Credit Mid-Qualified Rate",
                        "max_interchange": 239,
                        "fixed": 40,
                        "basis_points": 325
                    },
                    {
                        "display_name": "Mastercard Credit Non-Qualified Rate",
                        "fixed": 50,
                        "basis_points": 375
                    }
                ],
                "debit": [
                    {
                        "display_name": "Mastercard Debit Qualified Rate",
                        "max_interchange": 160,
                        "fixed": 25,
                        "basis_points": 225
                    },
                    {
                        "display_name": "Mastercard Debit Mid-Qualified Rate",
                        "max_interchange": 200,
                        "fixed": 35,
                        "basis_points": 275
                    },
                    {
                        "display_name": "Mastercard Debit Non-Qualified Rate",
                        "fixed": 40,
                        "basis_points": 325
                    }
                ]
            },
            "unknown_card_type": {
                "credit": [
                    {
                        "display_name": "Other Cards Credit Qualified",
                        "max_interchange": 175,
                        "fixed": 20,
                        "basis_points": 255
                    },
                    {
                        "display_name": "Other Cards Credit Mid-Qualified",
                        "max_interchange": 239,
                        "fixed": 30,
                        "basis_points": 325
                    },
                    {
                        "display_name": "Other Cards Credit Non-Qualified",
                        "fixed": 40,
                        "basis_points": 375
                    }
                ],
                "debit": [
                    {
                        "display_name": "Other Cards Debit Qualified",
                        "max_interchange": 160,
                        "fixed": 25,
                        "basis_points": 225
                    },
                    {
                        "display_name": "Other Cards Debit Mid-Qualified",
                        "max_interchange": 200,
                        "fixed": 35,
                        "basis_points": 275
                    },
                    {
                        "display_name": "Other Cards Credit Non-Qualified",
                        "fixed": 40,
                        "basis_points": 325
                    }
                ]
            }
        }
    }'

Example Response:

{
  "id" : "FPa6KXTgEq5o54w4dK9oogMn",
  "tags" : { },
  "application" : "APkcbdWev9MSRA7hPSbzBnb2",
  "fixed_fee" : 100,
  "ancillary_fixed_fee_primary" : null,
  "ancillary_fixed_fee_secondary" : null,
  "basis_points" : 200,
  "ach_basis_points" : 300,
  "ach_fixed_fee" : 30,
  "charge_interchange" : false,
  "dispute_inquiry_fixed_fee" : null,
  "dispute_fixed_fee" : null,
  "ach_debit_return_fixed_fee" : null,
  "ach_credit_return_fixed_fee" : null,
  "visa_basis_points" : null,
  "visa_fixed_fee" : null,
  "visa_charge_interchange" : null,
  "visa_assessments_basis_points" : null,
  "visa_acquirer_processing_fixed_fee" : null,
  "visa_credit_voucher_fixed_fee" : null,
  "visa_kilobyte_access_fixed_fee" : null,
  "discover_basis_points" : null,
  "discover_fixed_fee" : null,
  "discover_charge_interchange" : null,
  "discover_assessments_basis_points" : null,
  "discover_data_usage_fixed_fee" : null,
  "discover_network_authorization_fixed_fee" : null,
  "diners_club_basis_points" : null,
  "diners_club_fixed_fee" : null,
  "diners_club_charge_interchange" : null,
  "mastercard_basis_points" : null,
  "mastercard_fixed_fee" : null,
  "mastercard_charge_interchange" : null,
  "mastercard_assessments_under1k_basis_points" : null,
  "mastercard_assessments_over1k_basis_points" : null,
  "mastercard_acquirer_fees_basis_points" : null,
  "jcb_basis_points" : null,
  "jcb_fixed_fee" : null,
  "jcb_charge_interchange" : null,
  "american_express_basis_points" : null,
  "american_express_fixed_fee" : null,
  "american_express_charge_interchange" : null,
  "american_express_assessment_basis_points" : null,
  "rounding_mode" : "TRANSACTION",
  "qualified_tiers" : {
    "unknown_card_type" : {
      "credit" : [ {
        "display_name" : "Other Cards Credit Qualified",
        "fixed" : 20,
        "basis_points" : 255,
        "max_interchange" : 175
      }, {
        "display_name" : "Other Cards Credit Mid-Qualified",
        "fixed" : 30,
        "basis_points" : 325,
        "max_interchange" : 239
      }, {
        "display_name" : "Other Cards Credit Non-Qualified",
        "fixed" : 40,
        "basis_points" : 375,
        "max_interchange" : null
      } ],
      "debit" : [ {
        "display_name" : "Other Cards Debit Qualified",
        "fixed" : 25,
        "basis_points" : 225,
        "max_interchange" : 160
      }, {
        "display_name" : "Other Cards Debit Mid-Qualified",
        "fixed" : 35,
        "basis_points" : 275,
        "max_interchange" : 200
      }, {
        "display_name" : "Other Cards Credit Non-Qualified",
        "fixed" : 40,
        "basis_points" : 325,
        "max_interchange" : null
      } ]
    },
    "visa" : {
      "credit" : [ {
        "display_name" : "Visa Credit Qualified Rate",
        "fixed" : 30,
        "basis_points" : 225,
        "max_interchange" : 175
      }, {
        "display_name" : "Visa Credit Mid-Qualified Rate",
        "fixed" : 40,
        "basis_points" : 325,
        "max_interchange" : 239
      }, {
        "display_name" : "Visa Credit Non-Qualified Rate",
        "fixed" : 50,
        "basis_points" : 375,
        "max_interchange" : null
      } ],
      "debit" : [ {
        "display_name" : "Visa Debit Qualified",
        "fixed" : 25,
        "basis_points" : 225,
        "max_interchange" : 160
      }, {
        "display_name" : "Visa Debit Mid-Qualified",
        "fixed" : 35,
        "basis_points" : 275,
        "max_interchange" : 200
      }, {
        "display_name" : "Visa Debit Non-Qualified",
        "fixed" : 40,
        "basis_points" : 325,
        "max_interchange" : null
      } ]
    },
    "discover" : {
      "credit" : [ {
        "display_name" : "Discover Credit Qualified Rate",
        "fixed" : 30,
        "basis_points" : 255,
        "max_interchange" : 175
      }, {
        "display_name" : "Discover Credit Mid-Qualified Rate",
        "fixed" : 40,
        "basis_points" : 325,
        "max_interchange" : 239
      }, {
        "display_name" : "Discover Credit Non-Qualified Rate",
        "fixed" : 50,
        "basis_points" : 375,
        "max_interchange" : null
      } ],
      "debit" : [ {
        "display_name" : "Discover Debit Qualified Rate",
        "fixed" : 25,
        "basis_points" : 225,
        "max_interchange" : 160
      }, {
        "display_name" : "Discover Debit Mid-Qualified Rate",
        "fixed" : 35,
        "basis_points" : 275,
        "max_interchange" : 200
      }, {
        "display_name" : "Discover Debit Non-Qualified Rate",
        "fixed" : 40,
        "basis_points" : 325,
        "max_interchange" : null
      } ]
    },
    "mastercard" : {
      "credit" : [ {
        "display_name" : "Mastercard Credit Qualified Rate",
        "fixed" : 30,
        "basis_points" : 255,
        "max_interchange" : 175
      }, {
        "display_name" : "Mastercard Credit Mid-Qualified Rate",
        "fixed" : 40,
        "basis_points" : 325,
        "max_interchange" : 239
      }, {
        "display_name" : "Mastercard Credit Non-Qualified Rate",
        "fixed" : 50,
        "basis_points" : 375,
        "max_interchange" : null
      } ],
      "debit" : [ {
        "display_name" : "Mastercard Debit Qualified Rate",
        "fixed" : 25,
        "basis_points" : 225,
        "max_interchange" : 160
      }, {
        "display_name" : "Mastercard Debit Mid-Qualified Rate",
        "fixed" : 35,
        "basis_points" : 275,
        "max_interchange" : 200
      }, {
        "display_name" : "Mastercard Debit Non-Qualified Rate",
        "fixed" : 40,
        "basis_points" : 325,
        "max_interchange" : null
      } ]
    },
    "american_express" : {
      "credit" : [ {
        "display_name" : "American Express Credit Qualified Rate",
        "fixed" : 70,
        "basis_points" : 330,
        "max_interchange" : 175
      }, {
        "display_name" : "American Express Credit Mid-Qualified Rate",
        "fixed" : 80,
        "basis_points" : 440,
        "max_interchange" : 239
      }, {
        "display_name" : "American Express Credit Non-Qualified Rate",
        "fixed" : 90,
        "basis_points" : 550,
        "max_interchange" : null
      } ]
    }
  },
  "created_at" : "2021-07-28T18:27:50.75Z",
  "updated_at" : "2021-07-28T18:27:50.75Z",
  "visa_base_II_system_file_transmission_fixed_fee" : null,
  "visa_base_II_credit_voucher_fixed_fee" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPa6KXTgEq5o54w4dK9oogMn"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkcbdWev9MSRA7hPSbzBnb2"
    }
  }
}

Qualified tiers allow Payment Facilitators to create various fee tiers based on the interchange percentage. The interchange percentage is the approximate interchange fee amount divided by the purchase amount. When an interchange percent falls within a certain tier, a fixed fee and basis point fee is created for that sale.

Each Card Network within the Fee Profile must have at least one tier associated to it. The Payment Facilitator can create an unlimited amount of tiers; however, at least one tier required.

HTTP Request

POST https://finix.sandbox-payments-api.com/fee_profiles

General Fee Profile Request Arguments

Field Type Description
:APPLICATION_ID string, required ID of Application
basis_points integer, optional Percentage-based fee incurred against the full amount of each card-based Transfer. Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
fixed_fee integer, optional Fee in cents incurred for each individual card-based Transfer
ach_basis_points integer, optional Percentage-based fee incurred against the full amount of an eCheck (ACH Debit). Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
ach_fixed_fee integer, optional Fee in cents incurred for each individual Transfer
charge_interchange boolean, optional Set to True to incur interchange fees for card-based Transfers

First level of the structure:

Field Type Description
qualified_tiers object, optional The top of the qualified tier tree

Second level of the structure:

Field Type Description
american_express object, required American Express qualified tiers
discover object, required Discover qualified tiers
mastercard object, required Mastercard qualified tiers
visa object, required Visa qualified tiers
unknown_card_type object, required Default qualified tiers if card brand could not be determined

Third level of the structure:

Field Type Description
credit array, required Fee buckets for credit card purchases
debit array, required Fee buckets for debit card purchases

Fourth level of the structure:

Field Type Description
display_name string, required Custom name given to this type of fee tier
basis_points integer, required Measure of interest rates or percentage used to calculate fees
fixed integer, required A fixed fee that will be charged if this bucket is used
max_interchange string, required The bounds of the qualified tier bucket

Response

Field Type Description
min_interchange integer 0 represents the lower bound of the first tier. Integers that are greater than 0 represent the middle bounds of the fee bucket

Associate Fee Profile to a Merchant

Step 1: Create New Merchant Fee Profile

curl https://finix.sandbox-payments-api.com/fee_profiles \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -d '
    {
        "ach_fixed_fee": 30,
        "tags": {
            "app pricing": "sample"
        },
        "basis_points": 200,
        "application": "APkSa6G63hcfYPak632WZ97m",
        "charge_interchange": false,
        "fixed_fee": 100,
        "ach_basis_points": 300
    }'

Example Response:

{
  "id" : "FPqJ6DqFYuMzUqA4kyuKgyFq",
  "tags" : { },
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "fixed_fee" : 100,
  "ancillary_fixed_fee_primary" : null,
  "ancillary_fixed_fee_secondary" : null,
  "basis_points" : 200,
  "ach_basis_points" : 300,
  "ach_fixed_fee" : 30,
  "charge_interchange" : false,
  "dispute_inquiry_fixed_fee" : null,
  "dispute_fixed_fee" : null,
  "ach_debit_return_fixed_fee" : null,
  "ach_credit_return_fixed_fee" : null,
  "visa_basis_points" : null,
  "visa_fixed_fee" : null,
  "visa_charge_interchange" : null,
  "visa_assessments_basis_points" : null,
  "visa_acquirer_processing_fixed_fee" : null,
  "visa_credit_voucher_fixed_fee" : null,
  "visa_kilobyte_access_fixed_fee" : null,
  "discover_basis_points" : null,
  "discover_fixed_fee" : null,
  "discover_charge_interchange" : null,
  "discover_assessments_basis_points" : null,
  "discover_data_usage_fixed_fee" : null,
  "discover_network_authorization_fixed_fee" : null,
  "diners_club_basis_points" : null,
  "diners_club_fixed_fee" : null,
  "diners_club_charge_interchange" : null,
  "mastercard_basis_points" : null,
  "mastercard_fixed_fee" : null,
  "mastercard_charge_interchange" : null,
  "mastercard_assessments_under1k_basis_points" : null,
  "mastercard_assessments_over1k_basis_points" : null,
  "mastercard_acquirer_fees_basis_points" : null,
  "jcb_basis_points" : null,
  "jcb_fixed_fee" : null,
  "jcb_charge_interchange" : null,
  "american_express_basis_points" : null,
  "american_express_fixed_fee" : null,
  "american_express_charge_interchange" : null,
  "american_express_assessment_basis_points" : null,
  "rounding_mode" : "TRANSACTION",
  "qualified_tiers" : null,
  "created_at" : "2021-07-28T18:28:02.19Z",
  "updated_at" : "2021-07-28T18:28:02.19Z",
  "visa_base_II_system_file_transmission_fixed_fee" : null,
  "visa_base_II_credit_voucher_fixed_fee" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPqJ6DqFYuMzUqA4kyuKgyFq"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

Similar to Associate Fee Profile to an Application, the creation of a Fee Profile only affects the Merchant. The Fee Profile does not affect the other Merchants under the Application. If a Merchant has an existing fee_profile, it does not inherit changes made to the Application’s fee_profile.

HTTP Request

POST https://finix.sandbox-payments-api.com/fee_profiles

Request Arguments

Field Type Description
application string, required ID of Application
basis_points decimal, optional Percentage-based fee incurred against the full amount of each card-based Transfer. Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
fixed_fee decimal, optional Fee in cents incurred for each individual card-based Transfer
ach_basis_points decimal, optional Percentage-based fee incurred against the full amount of an eCheck (ACH Debit). Calculated as one hundredth of one percent (1 basis point = .0001 or .01%)
ach_fixed_fee decimal, optional Fee in cents incurred for each individual Transfer
charge_interchange boolean, optional Set to True to incur interchange fees for card-based Transfers.
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)

Step 2: Locate Merchant

curl https://finix.sandbox-payments-api.com/merchants/MUb37LGvcCV4sNdjyzuJZETx \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041

Example Response:

{
  "id" : "MUb37LGvcCV4sNdjyzuJZETx",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "identity" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "verification" : "VIfpKHcgMrQxV16U4PVUMS9J",
  "merchant_profile" : "MPpwL8eRMwhtSvkM4mcEm1uE",
  "processor" : "DUMMY_V1",
  "processing_enabled" : true,
  "settlement_enabled" : true,
  "gross_settlement_enabled" : false,
  "creating_transfer_from_report_enabled" : false,
  "card_expiration_date_required" : true,
  "card_cvv_required" : false,
  "tags" : {
    "key_2" : "value_2"
  },
  "mcc" : "0742",
  "mid" : "FNXcVXDyFAmWufsVXq2pkmrMZ",
  "merchant_name" : "Bobs Burgers",
  "settlement_funding_identifier" : "UNSET",
  "ready_to_settle_upon" : "RECONCILIATION",
  "fee_ready_to_settle_upon" : "RECONCILIATION",
  "created_at" : "2021-07-28T18:24:55.87Z",
  "updated_at" : "2021-07-28T18:24:56.37Z",
  "onboarding_state" : "APPROVED",
  "processor_details" : {
    "mid" : "FNXcVXDyFAmWufsVXq2pkmrMZ",
    "api_key" : "secretValue"
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUb37LGvcCV4sNdjyzuJZETx"
    },
    "identity" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/merchants/MUb37LGvcCV4sNdjyzuJZETx/verifications"
    },
    "merchant_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/merchant_profiles/MPpwL8eRMwhtSvkM4mcEm1uE"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "verification" : {
      "href" : "https://finix.sandbox-payments-api.com/verifications/VIfpKHcgMrQxV16U4PVUMS9J"
    }
  }
}

Make a GET request with your Merchant’s ID. The merchant_profile is shown in the merchant_profile response field; it has a prefix of MP. The merchant_profile is required in the next step.

HTTP Request

GET https://finix.sandbox-payments-api.com/merchants/:MERCHANT_ID

URL Arguments

Field Type Description
:MERCHANT_ID string, required ID of the Merchant

Step 3: Locate Merchant Profile

curl https://finix.sandbox-payments-api.com/merchant_profiles/MPpwL8eRMwhtSvkM4mcEm1uE \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041

Example Response:

{
  "id" : "MPpwL8eRMwhtSvkM4mcEm1uE",
  "tags" : { },
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "fee_profile" : null,
  "risk_profile" : "RPwCdRNKc16sRfa9wHu3rYem",
  "created_at" : "2021-07-28T18:24:55.86Z",
  "updated_at" : "2021-07-28T18:24:56.37Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/merchant_profiles/MPpwL8eRMwhtSvkM4mcEm1uE"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "risk_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/risk_profiles/RPwCdRNKc16sRfa9wHu3rYem"
    }
  }
}

Make a GET request with the merchant_profile from step 2. The fee_profile is shown in the fee_profile response field. The fee_profile is required in the next step.

GET https://finix.sandbox-payments-api.com/merchants/:MERCHANT_PROFILE

URL Arguments

Field Type Description
:MERCHANT_PROFILE string, required ID of the Merchant Profile

Step 4: Update Merchant Profile

curl https://finix.sandbox-payments-api.com/merchant_profiles/MPpwL8eRMwhtSvkM4mcEm1uE \
    -H "Content-Type: application/vnd.json+api" \
    -u  USimz3zSq5R2PqiEBXY6rSiJ:8bacba32-9550-48ff-b567-fe7648947041 \
    -X PUT \
    -d '
    {
        "fee_profile": "FPqJ6DqFYuMzUqA4kyuKgyFq"
    }'

Example Response:

{
  "id" : "MPpwL8eRMwhtSvkM4mcEm1uE",
  "tags" : { },
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "fee_profile" : "FPqJ6DqFYuMzUqA4kyuKgyFq",
  "risk_profile" : "RPwCdRNKc16sRfa9wHu3rYem",
  "created_at" : "2021-07-28T18:24:55.86Z",
  "updated_at" : "2021-07-28T18:28:11.79Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/merchant_profiles/MPpwL8eRMwhtSvkM4mcEm1uE"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    },
    "risk_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/risk_profiles/RPwCdRNKc16sRfa9wHu3rYem"
    },
    "fee_profile" : {
      "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPqJ6DqFYuMzUqA4kyuKgyFq"
    }
  }
}

Make a PUT request using the fee_profile from step 3 to update the Merchant’s merchant_profile.

HTTP Request

PUT https://finix.sandbox-payments-api.com/merchant_profiles/:MERCHANT_PROFILE

URL Arguments

Field Type Description
:MERCHANT_PROFILE string, required ID of the MERCHANT_PROFILE

Request Arguments

Field Type Description
fee_profile string, required ID of the fee_profile

Fetch Fee Profile

curl https://finix.sandbox-payments-api.com/fee_profiles/FPud9p3x8Y1voDAECghgus2m/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e

Example Response:

{
  "id" : "FPud9p3x8Y1voDAECghgus2m",
  "tags" : { },
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "fixed_fee" : 100,
  "ancillary_fixed_fee_primary" : null,
  "ancillary_fixed_fee_secondary" : null,
  "basis_points" : 200,
  "ach_basis_points" : 300,
  "ach_fixed_fee" : 30,
  "charge_interchange" : false,
  "dispute_inquiry_fixed_fee" : null,
  "dispute_fixed_fee" : null,
  "ach_debit_return_fixed_fee" : null,
  "ach_credit_return_fixed_fee" : null,
  "visa_basis_points" : null,
  "visa_fixed_fee" : null,
  "visa_charge_interchange" : null,
  "visa_assessments_basis_points" : null,
  "visa_acquirer_processing_fixed_fee" : null,
  "visa_credit_voucher_fixed_fee" : null,
  "visa_kilobyte_access_fixed_fee" : null,
  "discover_basis_points" : null,
  "discover_fixed_fee" : null,
  "discover_charge_interchange" : null,
  "discover_assessments_basis_points" : null,
  "discover_data_usage_fixed_fee" : null,
  "discover_network_authorization_fixed_fee" : null,
  "diners_club_basis_points" : null,
  "diners_club_fixed_fee" : null,
  "diners_club_charge_interchange" : null,
  "mastercard_basis_points" : null,
  "mastercard_fixed_fee" : null,
  "mastercard_charge_interchange" : null,
  "mastercard_assessments_under1k_basis_points" : null,
  "mastercard_assessments_over1k_basis_points" : null,
  "mastercard_acquirer_fees_basis_points" : null,
  "jcb_basis_points" : null,
  "jcb_fixed_fee" : null,
  "jcb_charge_interchange" : null,
  "american_express_basis_points" : null,
  "american_express_fixed_fee" : null,
  "american_express_charge_interchange" : null,
  "american_express_assessment_basis_points" : null,
  "rounding_mode" : "TRANSACTION",
  "qualified_tiers" : null,
  "created_at" : "2021-07-28T18:27:46.56Z",
  "updated_at" : "2021-07-28T18:27:46.56Z",
  "visa_base_II_system_file_transmission_fixed_fee" : null,
  "visa_base_II_credit_voucher_fixed_fee" : null,
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/fee_profiles/FPud9p3x8Y1voDAECghgus2m"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

Retrieve a Fee Profile.

HTTP Request

GET https://finix.sandbox-payments-api.com/fee_profiles/:FEE_PROFILE_ID

URL Parameters

Parameter Description
:FEE_PROFILE_ID ID of the FEE_PROFILE

Identities

An Identity resource represents either a buyer or a Merchant and is in many ways the centerpiece of our payment API’s architecture. Transfers and Payment Instruments must be associated with an Identity. For both buyers and Merchants, this structure makes it easy to manage and reconcile associated banks accounts, transaction history, and payouts.

Create an Identity for a Buyer



curl https://finix.sandbox-payments-api.com/identities \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '
    {
        "tags": {
            "key": "value"
        },
        "entity": {
            "phone": "7145677613",
            "first_name": "Sean",
            "last_name": "Green",
            "email": "therock@gmail.com",
            "personal_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 7",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            }
        }
    }'

Example Response:

{
  "id" : "IDstGoxAgMtDaFam7bbhwsBn",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "entity" : {
    "title" : null,
    "first_name" : "Sean",
    "last_name" : "Green",
    "email" : "therock@gmail.com",
    "business_name" : null,
    "business_type" : null,
    "doing_business_as" : null,
    "phone" : "7145677613",
    "business_phone" : null,
    "personal_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 7",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "business_address" : null,
    "mcc" : null,
    "dob" : null,
    "max_transaction_amount" : 0,
    "amex_mid" : null,
    "discover_mid" : null,
    "url" : null,
    "annual_card_volume" : 0,
    "has_accepted_credit_cards_previously" : false,
    "incorporation_date" : null,
    "principal_percentage_ownership" : null,
    "short_business_name" : null,
    "ownership_type" : null,
    "tax_authority" : null,
    "tax_id_provided" : false,
    "business_tax_id_provided" : false,
    "default_statement_descriptor" : null
  },
  "tags" : {
    "key" : "value"
  },
  "created_at" : "2021-07-28T18:25:10.45Z",
  "updated_at" : "2021-07-28T18:25:10.45Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/verifications"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/merchants"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/settlements"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/transfers"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/payment_instruments"
    },
    "associated_identities" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/associated_identities"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/disputes"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

All fields for a buyer’s Identity are optional. Do not pass the business_type field as that indicates that the Identity should be treated as a Merchant.

HTTP Request

POST https://finix.sandbox-payments-api.com/identities

Request Arguments

Field Type Description
city string, optional City (max 20 characters)
country string, optional 3-Letter Country code
email string, optional Email address
first_name string, optional First name
last_name string, optional Last name
line1 string, optional First line of the address (max 35 characters)
line2 string, optional Second line of the address (max 35 characters)
phone string, optional Phone number
postal_code string, optional Zip or Postal code (max 7 characters)
region string, optional 2-letter State code
tags object, optional Key value pair for annotating custom meta data (e.g. order numbers)

Create an Identity for a Merchant

curl https://finix.sandbox-payments-api.com/identities \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -d '
    {
        "tags": {
            "Studio Rating": "4.7"
        },
        "entity": {
            "last_name": "Sunkhronos",
            "max_transaction_amount": 12000000,
            "has_accepted_credit_cards_previously": true,
            "default_statement_descriptor": "Bobs Burgers",
            "personal_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 7",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            },
            "incorporation_date": {
                "year": 1978,
                "day": 27,
                "month": 6
            },
            "business_address": {
                "city": "San Mateo",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 8",
                "line1": "741 Douglass St",
                "postal_code": "94114"
            },
            "ownership_type": "PRIVATE",
            "first_name": "dwayne",
            "title": "CEO",
            "business_tax_id": "123456789",
            "doing_business_as": "Bobs Burgers",
            "principal_percentage_ownership": 50,
            "email": "user@example.org",
            "mcc": "0742",
            "phone": "1234567890",
            "business_name": "Bobs Burgers",
            "tax_id": "123456789",
            "business_type": "INDIVIDUAL_SOLE_PROPRIETORSHIP",
            "business_phone": "+1 (408) 756-4497",
            "dob": {
                "year": 1978,
                "day": 27,
                "month": 6
            },
            "url": "www.BobsBurgers.com",
            "annual_card_volume": 12000000
        }
    }'

Example Response:

{
  "id" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "entity" : {
    "title" : "CEO",
    "first_name" : "dwayne",
    "last_name" : "Sunkhronos",
    "email" : "user@example.org",
    "business_name" : "Bobs Burgers",
    "business_type" : "INDIVIDUAL_SOLE_PROPRIETORSHIP",
    "doing_business_as" : "Bobs Burgers",
    "phone" : "1234567890",
    "business_phone" : "+1 (408) 756-4497",
    "personal_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 7",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "business_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 8",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "mcc" : "0742",
    "dob" : {
      "day" : 27,
      "month" : 6,
      "year" : 1978
    },
    "max_transaction_amount" : 12000000,
    "amex_mid" : null,
    "discover_mid" : null,
    "url" : "www.BobsBurgers.com",
    "annual_card_volume" : 12000000,
    "has_accepted_credit_cards_previously" : true,
    "incorporation_date" : {
      "day" : 27,
      "month" : 6,
      "year" : 1978
    },
    "principal_percentage_ownership" : 50,
    "short_business_name" : null,
    "ownership_type" : "PRIVATE",
    "tax_authority" : null,
    "tax_id_provided" : true,
    "business_tax_id_provided" : true,
    "default_statement_descriptor" : "Bobs Burgers"
  },
  "tags" : {
    "Studio Rating" : "4.7"
  },
  "created_at" : "2021-07-28T18:24:27.40Z",
  "updated_at" : "2021-07-28T18:24:27.40Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/verifications"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/merchants"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/settlements"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/transfers"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/payment_instruments"
    },
    "associated_identities" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/associated_identities"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/disputes"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

Create an Identity resource with the Merchant’s underwriting information.

HTTP Request

POST https://finix.sandbox-payments-api.com/identities

Business-specific Request Arguments

Field Type Description
amex_mid integer, optional Assigned AMEX MID value. If provided must be 10 or 11 digits
business_address object, required Primary address for the legal entity (Full description of child attributes below)
business_name string, required Merchant’s full legal business name (If INDIVIDUAL_SOLE_PROPRIETORSHIP, please input first name, Full legal last name and middle initial; max 120 characters)
business_phone string, required Customer service phone number where the merchant can be reached (max 10 characters)
business_tax_id string, required Nine digit Tax Identification Number (TIN), Employer Identification Number (EIN) or if the business_type is INDIVIDUAL_SOLE_PROPRIETORSHIP and a Tax ID is not available, the principal’s Social Security Number (SSN)
business_type string, required Please select one of the following values: INDIVIDUAL_SOLE_PROPRIETORSHIP, CORPORATION, LIMITED_LIABILITY_COMPANY, PARTNERSHIP, ASSOCIATION_ESTATE_TRUST, TAX_EXEMPT_ORGANIZATION, INTERNATIONAL_ORGANIZATION, GOVERNMENT_AGENCY
discover_mid integer, optional Assigned Discover MID value
doing_business_as string, required Alternate name of the business. If no other name is used please use the same value for business_name (max 60 characters)
incorporation_date object, required Date company was founded (See below for a full list of the child attributes)
ownership_type string, required Values can be either PUBLIC to indicate a publicly traded company or PRIVATE for privately held businesses
tax_authority string, optional Field is required when onboarding a Merchant with a MCC of 9311 (e.g San Francisco Water Authority)
url string, required Merchant’s publicly available website (max 100 characters)

Principal-specific Request Arguments

(i.e. authorized representative or primary contact responsible for the account)

Field Type Description
dob object, required Principal’s date of birth (Full description of child attributes below)
email string, required Principal’s email address where they can be reached (max 100 characters)
first_name string, required Full legal first name of the merchant’s principal representative (max 20 characters)
last_name string, required Full legal last name of the merchant’s principal representative (max 20 characters)
personal_address object, required Principal’s personal home address. This field is used for Identity verification purposes (Full description of child attributes below)
phone string, required Principal’s phone number (max 10 characters)
principal_percentage_ownership integer, required Percentage of company owned by the principal (min 0; max 100)
tax_id string, required Nine digit Social Security Number (SSN) for the principal
title string, required Principal’s corporate title or role (i.e. Chief Executive Officer, CFO, etc.; max 60 characters)

Processing-specific Request Arguments

Field Type Description
annual_card_volume integer, required Approximate annual credit card sales expected to be processed in cents by this merchant (max 23 characters)
default_statement_descriptor string, required Billing descriptor displayed on the buyer’s bank or card statement (Length must be between 1 and 20 characters)
has_accepted_credit_cards_previously boolean, optional Defaults to false if not passed
max_transaction_amount integer, required Maximum amount that can be transacted for a single transaction in cents (max 12 characters)
mcc string, required Merchant Category Code (MCC) that this merchant will be classified under

Address-object Request Arguments

Field Type Description
city string, required City (max 20 characters)
country string, required 3-Letter Country code
line1 string, required First line of the address (max 35 characters)
line2 string, optional Second line of the address (max 35 characters)
postal_code string, required Zip or Postal code (max 7 characters)
region string, required 2-letter State code

Incorporation Date-object Request Arguments

Field Type Description
day integer, required Day business was incorporated (between 1 and 31)
month integer, required Month business was incorporated (between 1 and 12)
year integer, required Year business was incorporated (4-digit)

DOB-object Request Arguments

Field Type Description
day integer, required Day of birth (between 1 and 31)
month integer, required Month of birth (between 1 and 12)
year integer, required Year of birth (4-digit)

Fetch an Identity


curl https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e

Example Response:

{
  "id" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "entity" : {
    "title" : "CEO",
    "first_name" : "dwayne",
    "last_name" : "Sunkhronos",
    "email" : "user@example.org",
    "business_name" : "Bobs Burgers",
    "business_type" : "INDIVIDUAL_SOLE_PROPRIETORSHIP",
    "doing_business_as" : "Bobs Burgers",
    "phone" : "1234567890",
    "business_phone" : "+1 (408) 756-4497",
    "personal_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 7",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "business_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 8",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "mcc" : "0742",
    "dob" : {
      "day" : 27,
      "month" : 6,
      "year" : 1978
    },
    "max_transaction_amount" : 12000000,
    "amex_mid" : null,
    "discover_mid" : null,
    "url" : "www.BobsBurgers.com",
    "annual_card_volume" : 12000000,
    "has_accepted_credit_cards_previously" : true,
    "incorporation_date" : {
      "day" : 27,
      "month" : 6,
      "year" : 1978
    },
    "principal_percentage_ownership" : 50,
    "short_business_name" : null,
    "ownership_type" : "PRIVATE",
    "tax_authority" : null,
    "tax_id_provided" : true,
    "business_tax_id_provided" : true,
    "default_statement_descriptor" : "Bobs Burgers"
  },
  "tags" : {
    "Studio Rating" : "4.7"
  },
  "created_at" : "2021-07-28T18:24:27.40Z",
  "updated_at" : "2021-07-28T18:24:28.73Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/verifications"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/merchants"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/settlements"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/transfers"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/payment_instruments"
    },
    "associated_identities" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/associated_identities"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/disputes"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

Fetch a previously created Identity.

HTTP Request

GET https://finix.sandbox-payments-api.com/identities/:IDENTITY_ID

URL Parameters

Parameter Description
:IDENTITY_ID ID of the Identity

Update an Identity

curl https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e \
    -X PUT \
    -d '
    {
        "tags": {
            "key": "value_2"
        },
        "entity": {
            "business_phone": "+1 (408) 756-4497",
            "first_name": "Bernard",
            "last_name": "Le",
            "title": "CTO",
            "dob": {
                "year": 1988,
                "day": 2,
                "month": 5
            },
            "ownership_type": "PRIVATE",
            "has_accepted_credit_cards_previously": true,
            "mcc": "0742",
            "phone": "7144177878",
            "business_tax_id": "123456789",
            "max_transaction_amount": 1200000,
            "principal_percentage_ownership": 50,
            "doing_business_as": "ACME Anchors",
            "annual_card_volume": 12000000,
            "default_statement_descriptor": "ACME Anchors",
            "url": "www.ACMEAnchors.com",
            "business_name": "ACME Anchors",
            "personal_address": {
                "city": "San Diego",
                "country": "USA",
                "region": "CA",
                "line2": "Apartment 2",
                "line1": "712 Douglass St",
                "postal_code": "94194"
            },
            "email": "user@example.org",
            "tax_id": "999999999"
        }
    }'

Example Response:

{
  "id" : "IDpHEprvRCz6Sp4BGTEgsyKk",
  "application" : "APkSa6G63hcfYPak632WZ97m",
  "entity" : {
    "title" : "CTO",
    "first_name" : "Bernard",
    "last_name" : "Le",
    "email" : "user@example.org",
    "business_name" : "ACME Anchors",
    "business_type" : "INDIVIDUAL_SOLE_PROPRIETORSHIP",
    "doing_business_as" : "ACME Anchors",
    "phone" : "7144177878",
    "business_phone" : "+1 (408) 756-4497",
    "personal_address" : {
      "line1" : "712 Douglass St",
      "line2" : "Apartment 2",
      "city" : "San Diego",
      "region" : "CA",
      "postal_code" : "94194",
      "country" : "USA"
    },
    "business_address" : {
      "line1" : "741 Douglass St",
      "line2" : "Apartment 8",
      "city" : "San Mateo",
      "region" : "CA",
      "postal_code" : "94114",
      "country" : "USA"
    },
    "mcc" : "0742",
    "dob" : {
      "day" : 2,
      "month" : 5,
      "year" : 1988
    },
    "max_transaction_amount" : 1200000,
    "amex_mid" : null,
    "discover_mid" : null,
    "url" : "www.ACMEAnchors.com",
    "annual_card_volume" : 12000000,
    "has_accepted_credit_cards_previously" : true,
    "incorporation_date" : {
      "day" : 27,
      "month" : 6,
      "year" : 1978
    },
    "principal_percentage_ownership" : 50,
    "short_business_name" : null,
    "ownership_type" : "PRIVATE",
    "tax_authority" : null,
    "tax_id_provided" : true,
    "business_tax_id_provided" : true,
    "default_statement_descriptor" : "ACME Anchors"
  },
  "tags" : {
    "key" : "value_2"
  },
  "created_at" : "2021-07-28T18:24:27.40Z",
  "updated_at" : "2021-07-28T18:39:38.73Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
    },
    "verifications" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/verifications"
    },
    "merchants" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/merchants"
    },
    "settlements" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/settlements"
    },
    "authorizations" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/authorizations"
    },
    "transfers" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/transfers"
    },
    "payment_instruments" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/payment_instruments"
    },
    "associated_identities" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/associated_identities"
    },
    "disputes" : {
      "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/disputes"
    },
    "application" : {
      "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
    }
  }
}

Update the information of a previously created Identity. In the case of Merchant accounts, this API request does not update this information on the underlying processor. To update the Merchant’s information on the underlying processor, you must update the Merchant on the processor.

HTTP Request

PUT https://finix.sandbox-payments-api.com/identities/:IDENTITY_ID

Business-specific Request Arguments

Field Type Description
business_address object, required Primary address for the legal entity (Full description of child attributes below)
business_name string, required Merchant’s full legal business name (If INDIVIDUAL_SOLE_PROPRIETORSHIP, please input first name, Full legal last name and middle initial; max 120 characters)
business_phone string, required Customer service phone number where the merchant can be reached (max 10 characters)
business_tax_id string, required Nine digit Tax Identification Number (TIN), Employer Identification Number (EIN) or if the business_type is INDIVIDUAL_SOLE_PROPRIETORSHIP and a Tax ID is not available, the principal’s Social Security Number (SSN)
business_type string, required Please select one of the following values: INDIVIDUAL_SOLE_PROPRIETORSHIP, CORPORATION, LIMITED_LIABILITY_COMPANY, PARTNERSHIP, ASSOCIATION_ESTATE_TRUST, TAX_EXEMPT_ORGANIZATION, INTERNATIONAL_ORGANIZATION, GOVERNMENT_AGENCY
doing_business_as string, required Alternate name of the business. If no other name is used please use the same value for business_name (max 60 characters)
incorporation_date object, required Date company was founded (See below for a full list of the child attributes)
ownership_type string, required Values can be either PUBLIC to indicate a publicly traded company or PRIVATE for privately held businesses
url string, required Merchant’s publicly available website (max 100 characters)

Principal-specific Request Arguments

(i.e. authorized representative or primary contact responsible for the account)

Field Type Description
dob object, required Principal’s date of birth (Full description of child attributes below)
email string, required Principal’s email address where they can be reached (max 100 characters)
first_name string, required Full legal first name of the merchant’s principal representative (max 20 characters)
last_name string, required Full legal last name of the merchant’s principal representative (max 20 characters)
personal_address object, required Principal’s personal home address. This field is used for identity verification purposes (Full description of child attributes below)
phone string, required Principal’s phone number (max 10 characters)
principal_percentage_ownership integer, required Percentage of company owned by the principal (min 0; max 100)
tax_id string, required Nine digit Social Security Number (SSN) for the principal
title string, required Principal’s corporate title or role (i.e. Chief Executive Officer, CFO, etc.; max 60 characters)

Processing-specific Request Arguments

Field Type Description
annual_card_volume integer, required Approximate annual credit card sales expected to be processed in cents by this merchant (max 23 characters)
default_statement_descriptor string, required Billing descriptor displayed on the buyer’s bank or card statement (Length must be between 1 and 20 characters)
has_accepted_credit_cards_previously boolean, optional Defaults to false if not passed
max_transaction_amount integer, required Maximum amount that can be transacted for a single transaction in cents (max 12 characters)
mcc string, required Merchant Category Code (MCC) that this merchant will be classified under

Address-object Request Arguments

Field Type Description
city string, required City (max 20 characters)
country string, optional 3-Letter Country code
line1 string, optional First line of the address (max 35 characters)
line2 string, optional Second line of the address (max 35 characters)
postal_code string, optional Zip or Postal code (max 7 characters)
region string, optional 2-letter State code

Incorporation Date-object Request Arguments

Field Type Description
day integer, required Day business was incorporated (between 1 and 31)
month integer, required Month business was incorporated (between 1 and 12)
year integer, required Year business was incorporated (4-digit)

DOB-object Request Arguments

Field Type Description
day integer, required Day of birth (between 1 and 31)
month integer, required Month of birth (between 1 and 12)
year integer, required Year of birth (4-digit)

List All Identities

curl https://finix.sandbox-payments-api.com/identities/ \
    -H "Content-Type: application/vnd.json+api" \
    -u  USrkaK96dJw8fNXn5b71wQ9u:b0ddd02f-9018-47fc-be48-34399ffd700e


Example Response:

{
  "_embedded" : {
    "identities" : [ {
      "id" : "IDnj7MkxQSuwpKjvB5NKNipc",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "entity" : {
        "title" : "CEO",
        "first_name" : "dwayne",
        "last_name" : "Sunkhronos",
        "email" : "user@example.org",
        "business_name" : "Lees Sandwiches",
        "business_type" : "CORPORATION",
        "doing_business_as" : "Lees Sandwiches",
        "phone" : "1234567890",
        "business_phone" : "+1 (408) 756-4497",
        "personal_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 7",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "business_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 8",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "mcc" : "0742",
        "dob" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "max_transaction_amount" : 12000000,
        "amex_mid" : null,
        "discover_mid" : null,
        "url" : "www.LeesSandwiches.com",
        "annual_card_volume" : 12000000,
        "has_accepted_credit_cards_previously" : true,
        "incorporation_date" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "principal_percentage_ownership" : 50,
        "short_business_name" : null,
        "ownership_type" : "PRIVATE",
        "tax_authority" : null,
        "tax_id_provided" : true,
        "business_tax_id_provided" : true,
        "default_statement_descriptor" : "Lees Sandwiches"
      },
      "tags" : {
        "Studio Rating" : "4.7"
      },
      "created_at" : "2021-07-28T18:25:22.33Z",
      "updated_at" : "2021-07-28T18:25:23.01Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc"
        },
        "verifications" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc/verifications"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc/merchants"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc/settlements"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc/authorizations"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc/transfers"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc/payment_instruments"
        },
        "associated_identities" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc/associated_identities"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDnj7MkxQSuwpKjvB5NKNipc/disputes"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        }
      }
    }, {
      "id" : "IDstGoxAgMtDaFam7bbhwsBn",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "entity" : {
        "title" : null,
        "first_name" : "Sean",
        "last_name" : "Green",
        "email" : "therock@gmail.com",
        "business_name" : null,
        "business_type" : null,
        "doing_business_as" : null,
        "phone" : "7145677613",
        "business_phone" : null,
        "personal_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 7",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "business_address" : null,
        "mcc" : null,
        "dob" : null,
        "max_transaction_amount" : 0,
        "amex_mid" : null,
        "discover_mid" : null,
        "url" : null,
        "annual_card_volume" : 0,
        "has_accepted_credit_cards_previously" : false,
        "incorporation_date" : null,
        "principal_percentage_ownership" : null,
        "short_business_name" : null,
        "ownership_type" : null,
        "tax_authority" : null,
        "tax_id_provided" : false,
        "business_tax_id_provided" : false,
        "default_statement_descriptor" : null
      },
      "tags" : {
        "key" : "value"
      },
      "created_at" : "2021-07-28T18:25:10.45Z",
      "updated_at" : "2021-07-28T18:25:11.69Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn"
        },
        "verifications" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/verifications"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/merchants"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/settlements"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/authorizations"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/transfers"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/payment_instruments"
        },
        "associated_identities" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/associated_identities"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDstGoxAgMtDaFam7bbhwsBn/disputes"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        }
      }
    }, {
      "id" : "IDrM2sv39U1ZFTSdQGhSdA2i",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "entity" : {
        "title" : "CEO",
        "first_name" : "dwayne",
        "last_name" : "Sunkhronos",
        "email" : "user@example.org",
        "business_name" : "Pawny City Hall",
        "business_type" : "GOVERNMENT_AGENCY",
        "doing_business_as" : "Pawny City Hall",
        "phone" : "1234567890",
        "business_phone" : "+1 (408) 756-4497",
        "personal_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 7",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "business_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 8",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "mcc" : "0742",
        "dob" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "max_transaction_amount" : 12000000,
        "amex_mid" : null,
        "discover_mid" : null,
        "url" : "www.PawnyCityHall.com",
        "annual_card_volume" : 12000000,
        "has_accepted_credit_cards_previously" : true,
        "incorporation_date" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "principal_percentage_ownership" : 50,
        "short_business_name" : null,
        "ownership_type" : "PUBLIC",
        "tax_authority" : null,
        "tax_id_provided" : true,
        "business_tax_id_provided" : true,
        "default_statement_descriptor" : "Pawny City Hall"
      },
      "tags" : {
        "Studio Rating" : "4.7"
      },
      "created_at" : "2021-07-28T18:24:51.59Z",
      "updated_at" : "2021-07-28T18:24:51.47Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrM2sv39U1ZFTSdQGhSdA2i"
        },
        "verifications" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrM2sv39U1ZFTSdQGhSdA2i/verifications"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrM2sv39U1ZFTSdQGhSdA2i/merchants"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrM2sv39U1ZFTSdQGhSdA2i/settlements"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrM2sv39U1ZFTSdQGhSdA2i/authorizations"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrM2sv39U1ZFTSdQGhSdA2i/transfers"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrM2sv39U1ZFTSdQGhSdA2i/payment_instruments"
        },
        "associated_identities" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrM2sv39U1ZFTSdQGhSdA2i/associated_identities"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrM2sv39U1ZFTSdQGhSdA2i/disputes"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        }
      }
    }, {
      "id" : "IDmPz2eWekA3bHmTgXM4RAj",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "entity" : {
        "title" : "CEO",
        "first_name" : "dwayne",
        "last_name" : "Sunkhronos",
        "email" : "user@example.org",
        "business_name" : "Petes Coffee",
        "business_type" : "INTERNATIONAL_ORGANIZATION",
        "doing_business_as" : "Petes Coffee",
        "phone" : "1234567890",
        "business_phone" : "+1 (408) 756-4497",
        "personal_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 7",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "business_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 8",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "mcc" : "0742",
        "dob" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "max_transaction_amount" : 12000000,
        "amex_mid" : null,
        "discover_mid" : null,
        "url" : "www.PetesCoffee.com",
        "annual_card_volume" : 12000000,
        "has_accepted_credit_cards_previously" : true,
        "incorporation_date" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "principal_percentage_ownership" : 50,
        "short_business_name" : null,
        "ownership_type" : "PRIVATE",
        "tax_authority" : null,
        "tax_id_provided" : true,
        "business_tax_id_provided" : true,
        "default_statement_descriptor" : "Petes Coffee"
      },
      "tags" : {
        "Studio Rating" : "4.7"
      },
      "created_at" : "2021-07-28T18:24:40.38Z",
      "updated_at" : "2021-07-28T18:24:47.71Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDmPz2eWekA3bHmTgXM4RAj"
        },
        "verifications" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDmPz2eWekA3bHmTgXM4RAj/verifications"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDmPz2eWekA3bHmTgXM4RAj/merchants"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDmPz2eWekA3bHmTgXM4RAj/settlements"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDmPz2eWekA3bHmTgXM4RAj/authorizations"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDmPz2eWekA3bHmTgXM4RAj/transfers"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDmPz2eWekA3bHmTgXM4RAj/payment_instruments"
        },
        "associated_identities" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDmPz2eWekA3bHmTgXM4RAj/associated_identities"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDmPz2eWekA3bHmTgXM4RAj/disputes"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        }
      }
    }, {
      "id" : "IDbi14xpLavQztj4Sm3z4gK6",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "entity" : {
        "title" : "CEO",
        "first_name" : "dwayne",
        "last_name" : "Sunkhronos",
        "email" : "user@example.org",
        "business_name" : "Bobs Burgers",
        "business_type" : "ASSOCIATION_ESTATE_TRUST",
        "doing_business_as" : "Bobs Burgers",
        "phone" : "1234567890",
        "business_phone" : "+1 (408) 756-4497",
        "personal_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 7",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "business_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 8",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "mcc" : "0742",
        "dob" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "max_transaction_amount" : 12000000,
        "amex_mid" : null,
        "discover_mid" : null,
        "url" : "www.BobsBurgers.com",
        "annual_card_volume" : 12000000,
        "has_accepted_credit_cards_previously" : true,
        "incorporation_date" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "principal_percentage_ownership" : 50,
        "short_business_name" : null,
        "ownership_type" : "PRIVATE",
        "tax_authority" : null,
        "tax_id_provided" : true,
        "business_tax_id_provided" : true,
        "default_statement_descriptor" : "Bobs Burgers"
      },
      "tags" : {
        "Studio Rating" : "4.7"
      },
      "created_at" : "2021-07-28T18:24:39.05Z",
      "updated_at" : "2021-07-28T18:24:40.37Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDbi14xpLavQztj4Sm3z4gK6"
        },
        "verifications" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDbi14xpLavQztj4Sm3z4gK6/verifications"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDbi14xpLavQztj4Sm3z4gK6/merchants"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDbi14xpLavQztj4Sm3z4gK6/settlements"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDbi14xpLavQztj4Sm3z4gK6/authorizations"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDbi14xpLavQztj4Sm3z4gK6/transfers"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDbi14xpLavQztj4Sm3z4gK6/payment_instruments"
        },
        "associated_identities" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDbi14xpLavQztj4Sm3z4gK6/associated_identities"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDbi14xpLavQztj4Sm3z4gK6/disputes"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        }
      }
    }, {
      "id" : "IDpsguMZBuCRAurFrSTAiZxk",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "entity" : {
        "title" : "CEO",
        "first_name" : "dwayne",
        "last_name" : "Sunkhronos",
        "email" : "user@example.org",
        "business_name" : "Prestige World Wide",
        "business_type" : "TAX_EXEMPT_ORGANIZATION",
        "doing_business_as" : "Prestige World Wide",
        "phone" : "1234567890",
        "business_phone" : "+1 (408) 756-4497",
        "personal_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 7",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "business_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 8",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "mcc" : "0742",
        "dob" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "max_transaction_amount" : 12000000,
        "amex_mid" : null,
        "discover_mid" : null,
        "url" : "www.PrestigeWorldWide.com",
        "annual_card_volume" : 12000000,
        "has_accepted_credit_cards_previously" : true,
        "incorporation_date" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "principal_percentage_ownership" : 50,
        "short_business_name" : null,
        "ownership_type" : "PUBLIC",
        "tax_authority" : null,
        "tax_id_provided" : true,
        "business_tax_id_provided" : true,
        "default_statement_descriptor" : "Prestige World Wide"
      },
      "tags" : {
        "Studio Rating" : "4.7"
      },
      "created_at" : "2021-07-28T18:24:36.78Z",
      "updated_at" : "2021-07-28T18:24:44.11Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpsguMZBuCRAurFrSTAiZxk"
        },
        "verifications" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpsguMZBuCRAurFrSTAiZxk/verifications"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpsguMZBuCRAurFrSTAiZxk/merchants"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpsguMZBuCRAurFrSTAiZxk/settlements"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpsguMZBuCRAurFrSTAiZxk/authorizations"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpsguMZBuCRAurFrSTAiZxk/transfers"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpsguMZBuCRAurFrSTAiZxk/payment_instruments"
        },
        "associated_identities" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpsguMZBuCRAurFrSTAiZxk/associated_identities"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpsguMZBuCRAurFrSTAiZxk/disputes"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        }
      }
    }, {
      "id" : "IDrAXMCMxSGY3iNdx4N7Wvf5",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "entity" : {
        "title" : "CEO",
        "first_name" : "dwayne",
        "last_name" : "Sunkhronos",
        "email" : "user@example.org",
        "business_name" : "Pollos Hermanos",
        "business_type" : "PARTNERSHIP",
        "doing_business_as" : "Pollos Hermanos",
        "phone" : "1234567890",
        "business_phone" : "+1 (408) 756-4497",
        "personal_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 7",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "business_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 8",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "mcc" : "0742",
        "dob" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "max_transaction_amount" : 12000000,
        "amex_mid" : null,
        "discover_mid" : null,
        "url" : "www.PollosHermanos.com",
        "annual_card_volume" : 12000000,
        "has_accepted_credit_cards_previously" : true,
        "incorporation_date" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "principal_percentage_ownership" : 50,
        "short_business_name" : null,
        "ownership_type" : "PRIVATE",
        "tax_authority" : null,
        "tax_id_provided" : true,
        "business_tax_id_provided" : true,
        "default_statement_descriptor" : "Pollos Hermanos"
      },
      "tags" : {
        "Studio Rating" : "4.7"
      },
      "created_at" : "2021-07-28T18:24:35.30Z",
      "updated_at" : "2021-07-28T18:24:36.57Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrAXMCMxSGY3iNdx4N7Wvf5"
        },
        "verifications" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrAXMCMxSGY3iNdx4N7Wvf5/verifications"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrAXMCMxSGY3iNdx4N7Wvf5/merchants"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrAXMCMxSGY3iNdx4N7Wvf5/settlements"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrAXMCMxSGY3iNdx4N7Wvf5/authorizations"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrAXMCMxSGY3iNdx4N7Wvf5/transfers"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrAXMCMxSGY3iNdx4N7Wvf5/payment_instruments"
        },
        "associated_identities" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrAXMCMxSGY3iNdx4N7Wvf5/associated_identities"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDrAXMCMxSGY3iNdx4N7Wvf5/disputes"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        }
      }
    }, {
      "id" : "IDaH2adbBnUqLYbcFW3HB3aw",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "entity" : {
        "title" : "CEO",
        "first_name" : "dwayne",
        "last_name" : "Sunkhronos",
        "email" : "user@example.org",
        "business_name" : "Golds Gym",
        "business_type" : "LIMITED_LIABILITY_COMPANY",
        "doing_business_as" : "Golds Gym",
        "phone" : "1234567890",
        "business_phone" : "+1 (408) 756-4497",
        "personal_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 7",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "business_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 8",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "mcc" : "0742",
        "dob" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "max_transaction_amount" : 12000000,
        "amex_mid" : null,
        "discover_mid" : null,
        "url" : "www.GoldsGym.com",
        "annual_card_volume" : 12000000,
        "has_accepted_credit_cards_previously" : true,
        "incorporation_date" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "principal_percentage_ownership" : 50,
        "short_business_name" : null,
        "ownership_type" : "PRIVATE",
        "tax_authority" : null,
        "tax_id_provided" : true,
        "business_tax_id_provided" : true,
        "default_statement_descriptor" : "Golds Gym"
      },
      "tags" : {
        "Studio Rating" : "4.7"
      },
      "created_at" : "2021-07-28T18:24:31.43Z",
      "updated_at" : "2021-07-28T18:24:32.73Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDaH2adbBnUqLYbcFW3HB3aw"
        },
        "verifications" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDaH2adbBnUqLYbcFW3HB3aw/verifications"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDaH2adbBnUqLYbcFW3HB3aw/merchants"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDaH2adbBnUqLYbcFW3HB3aw/settlements"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDaH2adbBnUqLYbcFW3HB3aw/authorizations"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDaH2adbBnUqLYbcFW3HB3aw/transfers"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDaH2adbBnUqLYbcFW3HB3aw/payment_instruments"
        },
        "associated_identities" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDaH2adbBnUqLYbcFW3HB3aw/associated_identities"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDaH2adbBnUqLYbcFW3HB3aw/disputes"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        }
      }
    }, {
      "id" : "IDpHEprvRCz6Sp4BGTEgsyKk",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "entity" : {
        "title" : "CEO",
        "first_name" : "dwayne",
        "last_name" : "Sunkhronos",
        "email" : "user@example.org",
        "business_name" : "Bobs Burgers",
        "business_type" : "INDIVIDUAL_SOLE_PROPRIETORSHIP",
        "doing_business_as" : "Bobs Burgers",
        "phone" : "1234567890",
        "business_phone" : "+1 (408) 756-4497",
        "personal_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 7",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "business_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 8",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "mcc" : "0742",
        "dob" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "max_transaction_amount" : 12000000,
        "amex_mid" : null,
        "discover_mid" : null,
        "url" : "www.BobsBurgers.com",
        "annual_card_volume" : 12000000,
        "has_accepted_credit_cards_previously" : true,
        "incorporation_date" : {
          "day" : 27,
          "month" : 6,
          "year" : 1978
        },
        "principal_percentage_ownership" : 50,
        "short_business_name" : null,
        "ownership_type" : "PRIVATE",
        "tax_authority" : null,
        "tax_id_provided" : true,
        "business_tax_id_provided" : true,
        "default_statement_descriptor" : "Bobs Burgers"
      },
      "tags" : {
        "Studio Rating" : "4.7"
      },
      "created_at" : "2021-07-28T18:24:27.40Z",
      "updated_at" : "2021-07-28T18:24:28.73Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk"
        },
        "verifications" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/verifications"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/merchants"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/settlements"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/authorizations"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/transfers"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/payment_instruments"
        },
        "associated_identities" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/associated_identities"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/IDpHEprvRCz6Sp4BGTEgsyKk/disputes"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        }
      }
    }, {
      "id" : "ID2fU63CjikxhiADeHFUmWu",
      "application" : "APkSa6G63hcfYPak632WZ97m",
      "entity" : {
        "title" : null,
        "first_name" : "dwayne",
        "last_name" : "Sunkhronos",
        "email" : "user@example.org",
        "business_name" : "BrainTree",
        "business_type" : "LIMITED_LIABILITY_COMPANY",
        "doing_business_as" : "BrainTree",
        "phone" : "1234567890",
        "business_phone" : "+1 (408) 756-4497",
        "personal_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 7",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "business_address" : {
          "line1" : "741 Douglass St",
          "line2" : "Apartment 8",
          "city" : "San Mateo",
          "region" : "CA",
          "postal_code" : "94114",
          "country" : "USA"
        },
        "mcc" : null,
        "dob" : {
          "day" : 27,
          "month" : 5,
          "year" : 1978
        },
        "max_transaction_amount" : 1200000,
        "amex_mid" : null,
        "discover_mid" : null,
        "url" : null,
        "annual_card_volume" : 0,
        "has_accepted_credit_cards_previously" : false,
        "incorporation_date" : null,
        "principal_percentage_ownership" : null,
        "short_business_name" : null,
        "ownership_type" : null,
        "tax_authority" : null,
        "tax_id_provided" : true,
        "business_tax_id_provided" : true,
        "default_statement_descriptor" : null
      },
      "tags" : {
        "application_name" : "BrainTree"
      },
      "created_at" : "2021-07-28T18:22:46.91Z",
      "updated_at" : "2021-07-28T18:22:47.03Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu"
        },
        "verifications" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu/verifications"
        },
        "merchants" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu/merchants"
        },
        "settlements" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu/settlements"
        },
        "authorizations" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu/authorizations"
        },
        "transfers" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu/transfers"
        },
        "payment_instruments" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu/payment_instruments"
        },
        "associated_identities" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu/associated_identities"
        },
        "disputes" : {
          "href" : "https://finix.sandbox-payments-api.com/identities/ID2fU63CjikxhiADeHFUmWu/disputes"
        },
        "application" : {
          "href" : "https://finix.sandbox-payments-api.com/applications/APkSa6G63hcfYPak632WZ97m"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/identities?offset=0&limit=20&sort=created_at,desc&sort=id,desc"
    }
  },