Update payment request

put
https://api.wafeq.com/v1/payment_requests/{id}/

Endpoint for updating an existing payment request.

Path Params
stringrequired
Query Params
string

Comma-separated related objects to return in full instead of as IDs. Accepted values: attachments, bank_account, bank_account.account, bills, bills.attachments, bills.branch, bills.contact, bills.journal, bills.line_items, bills.project, contact, contact.persons, cost_center. Nested relations are joined with a dot.

Body Params

A request to pay a beneficiary from one of the organization's bank accounts.

double | nullrequired

The amount to transfer to the beneficiary. Must be a non-negative value.

attachmentsarray of strings

The attachments linked to this payment request.

stringrequired

The bank account associated with this payment request.

stringrequired

The beneficiary associated with this payment request.

billsarray of strings

The bills associated with this payment request. Only one bill can be assigned.

stringenumrequired

How transfer charges are allocated between sender and receiver.

View the enum reference

Allowed:
stringrequired

The contact associated with this payment request.

string | null

The cost center associated with this payment request.

stringenumrequired

The currency (ISO 4217 code) of the payment. Cannot be blank.

View the enum reference

stringrequiredlength ≤ 200

The details of the payment to be displayed. Provide a clear description of the payment purpose.

stringrequired

The unique reference of the payment request. Used for tracking and identification.

booleanrequired

Boolean indicating whether to send a payment advice by email or not.

Headers
string

Client-provided UUID to uniquely identify a request

string

The id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.

stringenumDefaults to application/json

Generated from available request content types

Allowed:
Response