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).

مركز المساعدة

لم تجد ما تبحث عنه؟

لا تقلق، لدينا المزيد من أدوات المساعدة.

ندوات مباشرة يقدمها فريق قيود لمساعدتك في استخدام البرنامج بسهولة والرد على أسئلتك.

تعرّف على أحدث تحديثات فيود والتحسينات المستمرة والخصائص الجديدة في مكان واحد.

فريقنا جاهز لمساعدتك وتقديم الدعم الفوري لأي مشكلة تواجهها على مدار الساعة