#Shankar

1 messages · Page 1 of 1 (latest)

prisma timberBOT
somber canopy
#

👋 happy to help

#

would you mind sharing the request ID?

rigid patrol
#

i have used retrofit and volley both but unable to send the data

#

req_UvoR22u1rD3n2n

#

when i try to send the request using retrofit i got 400 error code

#

{"amount":"100000","capture_method":"manual","currency":"usd","customer":"cus_OIqiNacOsfVhKW","payment_method_types[]":"card","transfer_data":{"amount":"2000","destination":"acct_1NVqDjHKeg6QPoLO"},"transfer_group":"ORDER_10"}

somber canopy
#

are you sending it as a JSON?

rigid patrol
#

yes

#

above is the request i am sending

somber canopy
#

from https://stripe.com/docs/api

Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

rigid patrol
#

please find the postman snippet

somber canopy