Sources

Create a Source

Create a payment source object for a customer that you can use for one or more payments. The payment source data is saved in the secure data vault and can be used for later payments.

Please, check Transactions -> Create transaction with existing payment source.

Creating a transaction using an existing source is very similar to Recurring, but the difference is that in this case each transaction is made with Cardholder presence and requires CVV2/CVC2/CAV2 (Secure code) and 3-D Secure if available. The cardholder will not have to enter card details again, only CVV2/CVC2/CAV2 (Secure code) and pass 3-D Secure if needed.

POST https://api.quaife.net/v1/sources/

Parameters

Parameter

paymentMethod

Type

string

Required

Yes

Description

Payment method code
cardNumber
string
Only for card methods
Customer’s card number (PAN)
JSON Request object
{
    "paymentMethod": "visa",
    "holder": "Marianna O'Connell",
    "cardNumber":"4000000000000002",
    "expiryMonth": 12,
    "expiryYear": 20,
    "cvc": "123",
    "billingAddress": {
        "streetAddress":"StreetAddress",
        "city": "Boston",
        "postcode":"01010",
        "country":"US"
    }
}

JSON Response object

{
"id": "src_h53hrs57f5",
"paymentMethod": "VISA",
"holder": "Marianna O'Connell",
"cardNumber": "400000xxxxxx0002",
"created": "2021-01-06T15:50:41.4792899Z"
}

MERCHANT

Should you be interested in becoming a merchant, then please fill out the short form below and one of our specialists will be in touch shortly.

SIGN UP

We are delighted that you are considering using Quaife as your payment partner. Fill in the form below & let’s get started.