1. Payment (Collection)
  • Welcome
  • Use Cases
  • Recipies
    • Connect with Vendor
    • Pay a Vendor
    • Collect a customer payment
    • Send mass payouts
    • Fix or cancel a payout
    • Set up webhooks
  • API Reference
    • AP Payouts (Accounts Payable)
      • Vendor (Recipient)
        • Create new vendor
        • Update Vendor
        • View Vendor Details
      • Payments (Payouts)
        • Initiate Payment
        • Add Payment Method
      • Bills
        • Create new Bill
      • Country State City
        • GET City List by State Name/ID/Code
    • AR Collection (Accounts Receivable)
      • Invoices
        • Create new Invoice
      • Customers
        • Create new customer
      • Payment (Collection)
        • Add Payment Method
          POST
        • Initiate Payment
          POST
    • Simplified Payouts
      • Send Payouts
      • Resend Payout Email Notification
      • Cancel Payout
    • Transactions
      • Retrieve Transaction Status
    • Webhooks
      • Register for an Event
      • Get Webhook Registration Status
    • Sub-Ledger
      • Retrieve Balance
  1. Payment (Collection)

Add Payment Method

POST
https://staginggateway.fintainium.com/gateway/payment/paymentMethod
Collecting Payments from Customers: Collect customer payments for invoices generated by a Fintainium business. Specify the transaction type as "collection" and provide payment details such as credit/debit card information or ACH details.
Making Payments to Vendors: Make payments to vendors for services rendered or goods received. Specify the transaction type as "deposit" and provide payment details such as vendor account information and payment method to facilitate timely payments to vendors.
Field NameRequiredField Specs (Data Type + Field Length)Description
businessIdRequiredString (20)Static business ID of the client; it may become dynamic for future use cases
internalIdRequiredString (20)Internal ID of the customer or vendor: the unique identifier assigned to the customer whose invoice is due or the vendor whose bill needs to be paid
TypeRequiredJSON Object (collection, deposit)Transaction type, set by purpose: 'Collection' to collect payment for a customer invoice, or 'Deposit' to pay a vendor bill
paymentMethodRequiredJSON Object (ach, card, rapidpay, check, paymentMethodId)If type is "Collection", paymentMethod can be ACH or Card. If type is "Deposit", paymentMethod can be ACH, Rapid Pay, or Check.
accountNumberRequired, if paymentMethod is ACHString (20)The bank account number associated with the ACH payment.
routingNumberRequired, if paymentMethod is ACHString (20)The routing number of the bank associated with the ACH payment.
accountNameRequired, if paymentMethod is ACHString (100)The name of the account holder as it appears on the bank account.
accountTypeRequired, if paymentMethod is ACHString (40)The type of the account: Business, Personal – Checking, or Personal – Savings
cardNumberRequired, if paymentMode is Rapid PayString (16)The card number of the Fintainium Rapid Pay card, typically a string of 16 digits.
monthYearRequired, if paymentMode is Rapid PayDate MM/YYThe expiration date of the Fintainium Rapid Pay card, in MM/YY format
cvvOptionalString (3)The card verification value, a security code needed when creating a Fintainium Rapid Pay card or AR Credit card. Typically, a string of 3 digits.
nameOnCardRequired, if paymentMode is Rapid PayString (100)The name of the cardholder as it should appear on the Fintainium Rapid Pay card.
zipCodeRequiredString (20)Postal code of the account or card
printNameRequired, if paymentMode is CheckString (100)Name of the individual or entity to whom a check is made payable

Request

Header Params

Body Params application/json

Examples

Responses

🟒200Successful card payment method
application/json
Bodyapplication/json

🟒200Successful ACH payment method
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://staginggateway.fintainium.com/gateway/payment/paymentMethod' \
--header 'sessionKey: z4FEVD7d2SVGG0B8QF1rXUTMqzUDncOT' \
--header 'Content-Type: application/json' \
--data '{
    "businessId": "34567890",
    "internalId": "1235678",
    "type": {
    "collection": {
        "paymentMethod": {
            "card": {
                "cardNumber": "1234898567786754",
                "monthYear": "12/25",
                "cvv": "123",
                "nameOnCard": "John Doe",
                "zipCode": "56789"
            },
            "ach": {
                "accountNumber": "123456789",
                "routingNumber": "987654321",
                "accountName": "John Doe",
                "accountType": "Business"
            }
        }
    },
    "deposit": {
        "paymentMethod": {
            "rapidPay": {
                "cardNumber": "1234567812345678",
                "monthYear": "12/25",
                "cvv": "123",
                "nameOnCard": "John Doe"
            },
            "ach": {
                "accountNumber": "123456789",
                "routingNumber": "987654321",
                "accountName": "John Doe",
                "accountType": "Business"
            },
            "check": {
                "printName": "John Doe"
            }
        }
    }
}
}'
Response Response Example
200 - Successful card payment method - Successful card payment method
{
    "statusCode": 200,
    "actionCode": "00",
    "message": "Payment method saved successfully",
    "failedCount": 0,
    "failedMessageList": [],
    "successCount": 1,
    "type": "collection",
    "businessId": "4305551",
    "internalId": "123456",
    "paymentMethodId": 347,
    "name": "",
    "accountName": "",
    "nameOnCard": "John Doe",
    "printName": "",
    "status": true,
    "isTempCard": false,
    "isDefault": false,
    "archive": false,
    "transmissionDateTime": "2024-12-17 12:35:49"
}
Modified atΒ 2026-11-26 19:59:14
Previous
Create new customer
Next
Initiate Payment
Built with