Skip to content

Instantly share code, notes, and snippets.

View p3drosola's full-sized avatar
🔥
this_is_fine.jpg

Pedro Solá p3drosola

🔥
this_is_fine.jpg
  • Mexico City, Mexico
View GitHub Profile
@siddarth
siddarth / gist:6241382
Created August 15, 2013 14:44
Stripe FX: Getting the converted amount from the BalanceTransaction

Creating a USD charge on a GBP account:

$ curl https://api.stripe.com/v1/charges \
    -u REDACTED: \
    -d amount=400 \
    -d currency=usd \
    -d card[number]=4242424242424242 \
    -d card[exp_month]=04 \
    -d card[exp_year]=16 \

-d card[cvv]=390 \