Skip to main content

Community

Connector Improvement: [Stripe] Add "country" to payment method endpoint

Completed

Please sign in to leave a comment.

Comments

3 comments

  • Official comment

    Hi Meera - 

    Thanks for submitting this feature request! At the end of last month we released all of the billing address fields on the CHARGE table. You can see them in the ERD linked here

    This should solve your use case, but if you have any questions please let me know!

    Thanks,

    Erin 

    Hey Erin thanks for the reply! I appreciated the change to the CHARGE table, but that actually didn't solve my use case. In the example above, the "origin" field on the payment method was null in the CHARGE table, but I'd expect it to be present in the PAYMENT_METHODS table.

    We also need this, so it would be great if this can be prioritized. Here is a bit more detail from the API call on the field that is missing: 

    curl -G https://api.stripe.com/v1/payment_methods -d customer=<customer_id> ... 

    {

      "object": "list",

      "data": [

        {

          "id": "<snip>",

          "object": "payment_method",

          "billing_details": {

            "address": {

              "country": null,            <<---- this is ok  / being ingested but null
              ...
          }

          "card": {

            "brand": "mastercard",

            "country": "ES",               <<---------- missing this