# Test the Billing API

**URL:** https://discourse.sst.dev/t/test-the-billing-api/172
**Category:** Chapter Comments
**Created:** [May 9, 2018, 11:18pm UTC](https://discourse.sst.dev/t/test-the-billing-api/172 "2018-05-09T23:18:25Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![Himujjal](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/himujjal/32/1002_2.png) [@Himujjal](https://discourse.sst.dev/u/Himujjal)
#### Post date: [May 11, 2020, 10:36am UTC](https://discourse.sst.dev/t/test-the-billing-api/172/20 "2020-05-11T10:36:36Z")

</div>

### Tip for Indians here.

If you are from India trying out the Stripe API or from any other country that require a customer name and address of someone from outside India. Try the following in **`billing.js`** file:

```auto
await stripe.charges.create({
    source,
    amount,
    description,
    currency: "usd",
    shipping: {
      name: "Jenny Rosen",
      address: {
        line1: "510 Townsend St",
        postal_code: "98140",
        city: "San Francisco",
        state: "CA",
        country: "US",
      },
    },
  });

```

You can give any shipping details. But it should be something related to US/UK etc etc.

For more information check out: [https://stripe.com/docs/india-exports](https://stripe.com/docs/india-exports)

@jayair Please update the docs with this case. I spent considerable amount of time trying to debug the problem.

Hope it helps everyone.

---

_[View the full topic](https://discourse.sst.dev/t/test-the-billing-api/172)._
