Skip to content
This repository has been archived by the owner on May 6, 2018. It is now read-only.

Add credits to user account #2

Open
elimisteve opened this issue May 4, 2014 · 0 comments
Open

Add credits to user account #2

elimisteve opened this issue May 4, 2014 · 0 comments
Assignees

Comments

@elimisteve
Copy link
Member

Accept POST with the following JSON schema:

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "http://sbhx.co/currency/api/1/credit",
  "type": "object",
  "required": false,
  "properties": {
    "card_id": {
      "id": "http://sbhx.co/currency/api/1/credit/card_id#",
      "type": "string",
      "required": false
    },
    "amount_in_cents": {
      "id": "http://sbhx.co/currency/api/1/credit/amount_in_cents#",
      "type": "integer",
      "required": false
    }
  }
}
@elimisteve elimisteve added this to the Flask credit/debit app milestone May 4, 2014
@elimisteve elimisteve self-assigned this May 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant