#Vikas-PaymentMethod

1 messages · Page 1 of 1 (latest)

naive roost
#

Hi there, are you using the PaymentMethod API?

sacred flicker
#

yes

naive roost
sacred flicker
#

Here is the response of the API:
{
"id": "pm_1L93IBDLFJuEW2E7i6fPCquR",
"object": "payment_method",
"billing_details": {
"address": {
"city": "Columbus",
"country": "US",
"line1": "31 U.S. 33",
"line2": null,
"postal_code": "43215",
"state": "OH"
},
"email": null,
"name": "Vikas 123",
"phone": null
},
"card": {
"brand": "visa",
"checks": {
"address_line1_check": "pass",
"address_postal_code_check": "pass",
"cvc_check": "pass"
},
"country": "US",
"exp_month": 12,
"exp_year": 2043,
"fingerprint": "st6xsZdGBkY1ZY3h",
"funding": "credit",
"generated_from": null,
"last4": "4242",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1654850047,
"customer": "cus_LnLkzDGdZdItdh",
"livemode": false,
"metadata": {
"connectedAccountId": "acct_1L3za2DI9nRkGTJO"
},
"type": "card"
}

naive roost
#

Yup they are there, the country and funding

sacred flicker
#

But exact data is not coming from API's

#

is there any way to get the data which I showed you in screenshot

naive roost
#

brand tells you visam, funding tells you credit, and country gives you US.

#

What else do you need?

sacred flicker
#

Okay, I need to combine all these right?

no other way

naive roost
#

Yes, you just need to combine these data.

sacred flicker
#

okay

#

Thanks Jack