Skip to content

Instantly share code, notes, and snippets.

{
"type":"ipn",
"callback_uri": "https://example.com/callback",
"topic": "payment_bank.microdeposit_sent"
}
{
"credit_card_id": 235810395803,
"credit_card_name": "MasterCard xxxxxx4769",
"state": "new",
"user_name": "Bob Smith",
"email": "[email protected]",
"create_time": 1367958263,
"input_source": "card_keyed",
"virtual_terminal_mode": "none",
"reference_id": "123abc",
{
"account_id":12345,
"name":"My Sample Application",
"description":"Account for My Sample Application",
"account_uri":"https:\/\/stage.wepay.com\/account\/12345",
"payment_limit":5000,
"theme_object":
{
"theme_id":12345,
"name":"API Theme for Group My Sample Application",
# WePay Python SDK - http://git.io/v7Y1jA
from wepay import WePay
# application settings
account_id = 123456789
access_token = '1a3b5c7d9'
production = False
# create a theme
theme = {
# WePay Ruby SDK - http://git.io/a_c2uQ
require 'wepay'
# application settings
account_id = 123456789;
client_id = 123456789;
client_secret = '1a3b5c7d9';
access_token = '1a3b5c7d9';
# create a theme
<?php
// WePay PHP SDK - http://git.io/mY7iQQ
require 'wepay.php';
// application settings
$account_id = 123456789;
$client_id = 123456789;
$client_secret = "1a3b5c7d9";
$access_token = "1a3b5c7d9";
{
"checkout_id":12345
}
{
"name":"Example Acccount",
"reference_id":"123abc"
}
{
"account_id":12345,
"currency":"USD",
"reserved_amount":390.50,
"withdrawals_schedule":[
{
"time":1386096217,
"amount":390.50
}
]