#harshitbhargava
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Is buyerId some Cash App-specific value?
You should be able to access it here: https://stripe.com/docs/api/payment_methods/object#payment_method_object-cashapp-buyer_id
yes but i am no able to get that
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I am using this api
Could you please paste the object you're getting?
{
"acss_debit": null,
"affirm": null,
"afterpay_clearpay": null,
"alipay": null,
"au_becs_debit": null,
"bacs_debit": null,
"bancontact": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"blik": null,
"boleto": null,
"card": null,
"card_present": null,
"created": 1689852125,
"customer": null,
"customer_balance": null,
"eps": null,
"fpx": null,
"giropay": null,
"grabpay": null,
"id": "pm_1NVuvpInbsls4AaojanLEpFb",
"ideal": null,
"interac_present": null,
"klarna": null,
"konbini": null,
"link": null,
"livemode": false,
"metadata": {},
"object": "payment_method",
"oxxo": null,
"p24": null,
"paynow": null,
"promptpay": null,
"radar_options": null,
"sepa_debit": null,
"sofort": null,
"type": "cashapp",
"us_bank_account": null,
"wechat_pay": null
}
What API version are you using?
you mean stripe version?
implementation "com.stripe:stripe-java:20.136.0"
is this correct version or I have to upgrade that?
Stripe API version is not strictly tied to the library version. I suggest you to look at the link I shared to upgrade your API version instead.
Actually your Java lib is also quite outdated, I would suggest to upgrade it too: https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md
Happy to help!