Pre-pay order

POST /api-v1/orders/{id}/pre-pay

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Path parameters

  • id integer Required

    id

application/json

Body Required

prePayment

  • date string
  • description string
  • longDescription string
  • netAmount string

Responses

  • 200

    OK

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

POST /api-v1/orders/{id}/pre-pay
curl \
 --request POST 'https://wyzio.app/api-v1/orders/{id}/pre-pay' \
 --header "Content-Type: application/json" \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string" \
 --data '{"date":"string","description":"string","longDescription":"string","netAmount":"string"}'
Request examples
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string

# Payload
{
  "date": "string",
  "description": "string",
  "longDescription": "string",
  "netAmount": "string"
}