Registers a new payment account

Registers a new payment account

put/merchants/{mid}/users/{uid}/accounts/{paid}

Request

  • Base URL
    https://api.test.kalixa.com/api/v4
  • URL
    https://api.test.kalixa.com/api/v4/merchants/{mid}/users/{uid}/accounts/{paid}
  • Auth
    none declared

Path parameters

midstring required

The id of the merchant

uidstring required

The id of the user

paidstring required

The id of the payment account

Query parameters

tokenstring required

The token

Request body

idstring required

The payment account id

typenumber

The Account Type to be created. Currently only 1 (CreditCard) and 17 (DebitCard) are supported. The type of card will be automatically detected by Kalixa’s system and in case client specified incorrect card type the type will be overridden by Kalixa’s system and the client will receive actual type in the response.

cardNumberstring

Account Type specific ( 1,17) .Credit/Debit card Number.

expiryMonthnumber

Account Type specific ( 1,17). Expiration Month of Credit/Debit card.

expiryYearnumber

Account Type specific ( 1,17). Expiration Year of Credit/Debit card.

cardVerificationCodestring

Account Type specific ( 1,17). Autorization code of Credit/Debit card.

holderNamestring

Account Type specific ( 1,17). Holder name of Credit/Debit card.

visiblestring

Flag to signal if account can be used by customer. If this flag is set true than the account will be return when all available accounts for the user/method are requested with a GET method. By default it will be set to false.

is3DSecureEnabledboolean

Boolean parameter (true, false)

lastSuccessfulDepositOnstring dateTime

DateTime parameter

cardTypestring

The type of the card (e.g. Visa, Mastercard, Diners, etc.)

fastFundsboolean

Contains the information if the issuer of a particular card supports Fast Funds. Boolean parameter (true, false)

Response

Successful operation

Changes

No recorded changes to this operation across all 1 revision of this API.