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

Remove credits from user account #1

@elimisteve

Description

@elimisteve

Accept POST to /currency/api/1/debit with the following JSON schema:

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "http://sbhx.co/currency/api/1/debit",
  "type": "object",
  "required": false,
  "properties": {
    "card_id": {
      "id": "http://sbhx.co/currency/api/1/debit/card_id#",
      "type": "string",
      "required": false
    },
    "amount_in_cents": {
      "id": "http://sbhx.co/currency/api/1/debit/amount_in_cents#",
      "type": "integer",
      "required": false
    }
  }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions