Newer Version Available
VPL360_CreatePaymentmethod
This Integration Procedure is used in the self care portal
to create the payment card details.
Sample Input
1{
2 "AccountId": "0014W00002Buu2OQAR",
3 "cardExpMonth": "08",
4 "cardExpYear": "2022",
5 "cardNumber": "4242424242424242",
6 "cvc": "336"
7}|
Parameter |
Required/Optional |
|---|---|
|
AccountId |
Required |
|
cardExpMonth |
Required |
|
cardExpYear |
Required |
|
cardNumber |
Required |
|
cvc |
Required |
Sample Output
1{
2 "ActualTime": 785,
3 "CpuTime": 356,
4 "vlocity_cmt__PaymentMethod__c_1": [{
5 "UpsertSuccess": true,
6 "Id": "a3Q4W000000gYc9UAE",
7 "vlocity_cmt__MethodType__c": "Credit Card",
8 "vlocity_cmt__ExpirationYear__c": "2022",
9 "vlocity_cmt__ExpirationMonth__c": "08",
10 "vlocity_cmt__CardNumber__c": "4242424242424242",
11 "vlocity_cmt__AccountId__c": "0014W00002Buu2OQAR"
12 }],
13 "error": "OK",
14 "responseType": "SObject"
15}