Skip to content

Commit

Permalink
Merge pull request #43 from matin/ach
Browse files Browse the repository at this point in the history
use status instead of timestamp as discussed in #3
  • Loading branch information
matin committed Aug 29, 2012
2 parents d6c0bf9 + 70e9a66 commit 7a90f96
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
- id
- bank_account
- amount
- available
- rejected
- status: pending, cleared, rejected


### Bank Account
Expand All @@ -17,7 +16,7 @@
- name
- account_number
- routing_number
- type
- type: savings, checking


## Examples
Expand Down Expand Up @@ -48,11 +47,10 @@
"type": "checking"
}
"amount": 1716,
"available": null,
"rejected": null
"status": "pending"
}

### completed
### cleared

`GET /ach_debits/<ach_debits_id>`

Expand All @@ -65,8 +63,7 @@
"type": "checking"
}
"amount": 1716,
"available": 1345567104,
"rejected": null
"status": "cleared"
}

### rejected
Expand All @@ -82,6 +79,5 @@
"type": "checking"
}
"amount": 1716,
"available": null,
"rejected": 1345567104
}
"status": "rejected"
}

0 comments on commit 7a90f96

Please sign in to comment.