Skip to content

Instantly share code, notes, and snippets.

{
"checkout_id":12345,
"refund_reason":"Product was defective. Do not want."
}
{
"checkout_id":12345,
"state":"captured"
}
{
"checkout_id":12345
}
{
"checkout_id":12345,
"state":"cancelled"
}
{
"checkout_id":12345,
"state":"cancelled"
}
{
"account_id":54321,
"short_description":"Donation to Smith Cancer Fund",
"long_description":"This is a donation to help Bob Smith get the treatment",
"type":"donation",
"amount": 20,
"currency": "USD",
"email_message": {
"to_payer": "test",
"to_payee": "test"
[
{
"account_id":12345,
"name":"Example account",
"state":"active",
"description":"this account is just an example.",
"reference_id":"123abc",
"type":"personal",
"create_time":1367958263,
"country": "US",
{
"account_id":12345,
"name":"Example account",
"state":"active",
"description":"this account is just an example.",
"reference_id":"123abc",
"type":"personal",
"create_time":1367958263,
"country": "US",
"currencies": ["USD"],
[
{
"checkout_id": 1316882274,
"account_id": 979005736,
"type": "donation",
"short_description": "test",
"currency": "USD",
"amount": 20,
"state": "authorized",
"soft_descriptor": "WPY*Wolverine",
{
"account_id":54321,
"start":10,
"limit":20,
"reference_id":"123abc",
"state":"captured"
}