Register a payment source that may be used to pay for one or more payments. For integrators who wish to call this endpoint directly, you must be PCI certified since you will be handling raw card details.
required | object (CreateConsumerCardSource1) DEPRECATED: Use generalised case ( |
{- "CreateConsumerCardSource": {
- "number": "string",
- "cvc": "string",
- "expiryDate": {
- "expiryMonth": "string",
- "expiryYear": "string"
}
}
}
{- "paymentSourceId": "psrc_Zv9OAqSZMUXvqPJQ",
- "customerId": "cust_Zv9OAqSZMUXvqPJL",
- "merchantId": "mcht_Zv9OAqSZMUXvqPJK",
- "sourceMethod": {
- "CardMethodResp": {
- "country": "AF",
- "last4": "string",
- "brand": "MasterCard",
- "funding": "Credit",
- "cardBin": "string",
- "expMonth": 0,
- "expYear": 0
}
}, - "usageScope": "ScopeOrganisation",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "legacyResp": {
- "ConsumerCustomerCardSource": {
- "paymentSourceId": "psrc_Zv9OAqSZMUXvqPJQ",
- "customerId": "cust_Zv9OAqSZMUXvqPJL",
- "merchantId": "mcht_Zv9OAqSZMUXvqPJK",
- "country": "AF",
- "last4": "string",
- "brand": "MasterCard",
- "funding": "Credit",
- "cardBin": "string",
- "expMonth": 0,
- "expYear": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}