Qoyod
Pricing

 Knowledge Base

How to Add Payment Methods to Invoices via API

This article is intended for developers who use the Qoyod API to create invoices programmatically. When creating an invoice using the API, the payment method is specified through a dedicated field with a fixed numeric value that represents the payment type.

Required Field

The payment method is passed using the following key:

"payment_method": "10"

Supported Payment Method Values

  • 10 → Cash

  • 30 → Credit

  • 42 → Payment to bank account

  • 48 → Bank Card

  • 1 → Not defined

Important Notes

  • You must enter the correct numeric value according to the required payment method.

  • Any unsupported value may result in the request being rejected or the invoice being created incorrectly, and the following error will appear: {“errors”:{“payment_method”:[“Please select payment mean”,”Not included”]}} .

  • If no payment method is specified, you can use the value 1 (Not defined).

Help Center

Can't find what you're looking for?

Don’t worry — we have more ways to help.

Live webinars hosted by the Qoyod team to help you master the software with ease.

Discover Qoyod’s latest releases, continuous improvements, and new features.

Our team is ready to help you with instant support for any issue you face.