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_Zz6SN_8bIUK88SSs",
- "customerId": "cust_Zz6SN_8bIUK88SSn",
- "merchantId": "mcht_Zz6SN_8bIUK88SSm",
- "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_Zz6SN_8bIUK88SSs",
- "customerId": "cust_Zz6SN_8bIUK88SSn",
- "merchantId": "mcht_Zz6SN_8bIUK88SSm",
- "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"
}
}
}