Payment

Replaces the Payment resource.

Replaces the Payment resource.

put/payments/{id}

Request

  • Base URL: https://api.spash.com
  • URL: https://api.spash.com/payments/{id}
  • Auth: one of:
    • API key in header Authorization
    • HTTP bearer

Path parameters

idstring required

Payment identifier

Request body

PaymentPaymentPaymentWrite required

Response

Payment resource updated

idinteger
amountnumber required
status'paid' | 'not_paid' required
createdAtstring date-time
updatedAtstring date-time

Example response

{
  "status": "not_paid",
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Changes

No recorded changes to this operation across all 1 revision of this API.