Payment Methods

Users can link a variety of payment methods to their accounts in order to facilitate payments for their orders. The flow for each type of payment method is described below.

Credit and Debit Cards

Noba users can link credit and debit cards to their accounts. Users must submit their card information:

  • Card Number
  • Expiration Date
  • Nickname (optional)

Each added payment method will return a paymentToken that can be used for transactions.


Selecting/Adding Payment Methods

Test Cards

In the table below, you will find a collection of cards used to test various processing scenarios. All of the cards below have an expiration of 03/30 and a CVV of 737

ScenarioTypeCard Number
SuccessAmerican Express3700 0000 0000 002
SuccessMastercard2222 4000 7000 0005
SuccessMastercard5577 0000 5577 0004
SuccessVisa4111 1111 4555 1142
SuccessVisa4111 1111 1111 1111
Invalid TransactionVisa4903 3775 8307 6064
Insufficient FundsVisa4544 2491 6767 3670
Restricted CardVisa4818 9242 5013 1070

ACH and Bank Wires

Coming soon!

Handling and Using Payment Methods

To retrieve the payment methods linked to a user's account, you can use the GET /v1/consumers endpoint. Once a user selects the payment method for the current transaction, the paymentToken must be submitted in the POST /v1/transactions endpoint.

Utilized API Endpoints: