Skip to main content

Accounts Payable Vendor Payment via API

Updated today

Questions:

  • Does the current public POST to /api/v2/ap/vendor-payment-methods/ endpoint fully support setting Airwallex methods for a vendor record?

  • Is it possible to write the vendor information to sync from ERP to Procurify's vendor record?

Answer:

The vendor payment method API used to add payment methods can be used for Airwallex bill payment methods as well.

The type set should be one of:

  • 5 - PROCURIFY_CHECK

  • 6 - PROCURIFY_ACH

  • 7 - PROCURIFY_WIRE

The data field depends on which specific payment method is used.

The vendor key requires your target vendor’s id value which you can get from our /api/v3/vendors/ endpoint.

The currency key requires the id value which you can get from our /api/v2/currencies/. Note that the selected currency must be active on your domain.

Here are examples of API request for a payment method for Airwallex ACH, Fedwire and paper check:

Procurify ACH request body:


Procurify Wire request body (the same as ACH different type)

Procurify Check request body:

Expect bad request 400 errors if address or other fields do not pass Airwallex’s validation.

Did this answer your question?