I used stripe visa credit card for paying an order in squarespace . I got
"payments": [
{
"id": "f284bd1a-130d-4df1-af7f-bc9898bcf1b9",
"amount": {
"value": "1120.00",
"currency": "INR"
},
"refundedAmount": {
"value": "0.00",
"currency": "INR"
},
"netAmount": {
"value": "1080.36",
"currency": "INR"
},
"creditCardType": "VISA",
"provider": "STRIPE",
"refunds": [],
"processingFees": [
{
"id": "a535b6ba-8413-4cc4-92ba-9e830613aac6",
"amount": {
"value": "6.04",
"currency": "INR"
},
"amountGatewayCurrency": {
"value": "6.04",
"currency": "INR"
},
"exchangeRate": 1,
"refundedAmount": {
"value": "0.00",
"currency": "INR"
},
"refundedAmountGatewayCurrency": {
"value": "0.00",
"currency": "INR"
},
"netAmount": {
"value": "6.04",
"currency": "INR"
},
"netAmountGatewayCurrency": {
"value": "6.04",
"currency": "INR"
},
"feeRefunds": []
},
{
"id": "ebc03bb7-98c8-4837-ab40-e020cdf25a6a",
"amount": {
"value": "33.60",
"currency": "INR"
},
"amountGatewayCurrency": {
"value": "33.60",
"currency": "INR"
},
"exchangeRate": 1,
"refundedAmount": {
"value": "0.00",
"currency": "INR"
},
"refundedAmountGatewayCurrency": {
"value": "0.00",
"currency": "INR"
},
"netAmount": {
"value": "33.60",
"currency": "INR"
},
"netAmountGatewayCurrency": {
"value": "33.60",
"currency": "INR"
},
"feeRefunds": []
}
] from get transaction api.
Then,my question is what do i get values for credit card type and provider if i do payments with
PayPal:
* PayPal
* Venmo
Stripe:
* Visa (credit and debit cards)
* MasterCard (credit and debit cards)
* American Express, Discover (US merchants only)
* Diner's Club
* JCB
* Apple Pay