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_Z3Ii9j6FlUCEHn1U",
- "customerId": "cust_Z3Ii9j6FlUCEHn1P",
- "merchantId": "mcht_Z3Ii9j6FlUCEHn1O",
- "customerDelegateId": "custd_Z3Ii-T6FlUCEHn1r",
- "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"
}