ex_heroku_client v0.3.0 Heroku.Payment

Summary

Functions

Calls POST /account/payments

Functions

post(params)

Calls POST /account/payments

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "amount": {
      "description": "amount of payment in cents",
      "example": 50000,
      "readOnly": false,
      "type": [
        "number"
      ]
    },
    "invoice": {
      "anyOf": [
        {
          "description": "human readable invoice number",
          "example": 9403943,
          "readOnly": true,
          "type": [
            "integer"
          ]
        }
      ]
    },
    "uuid": {
      "description": "unique identifier for a payment transaction",
      "example": "01234567-89ab-cdef-0123-456789abcdef",
      "format": "uuid",
      "readOnly": false,
      "type": [
        "string"
      ]
    }
  },
  "required": [
    "amount",
    "invoice",
    "uuid"
  ],
  "type": [
    "object"
  ]
}