Money

Request a payment, or send an invoice

request_type: "invoice" requires chat_id, due_at and line_items (qty x unit_price must equal each item's subtotal, and every subtotal must sum to amount).

post/api/v1/transfer_requests

Request

  • Base URL: https://saltapp.ai
  • URL: https://saltapp.ai/api/v1/transfer_requests
  • Auth: one of:
    • API key in header api-key
    • OAuth 2 (authorization code, authorization URL https://saltapp.ai/oauth2/authorize, token URL https://saltapp.ai/api/oauth2/token, scopes: money)

Request body

wallet_idstring required

One of the RECEIVER's own wallets.

receiver_idstring required
amountstring required
messagestring
chat_idstring
request_type'invoice'
due_atstring date-time

Response

OK

idstring uuid required
amountstring required

A plain human-decimal amount, e.g. "1.50" -- never a float, never scientific notation.

messagestring nullable
status'Pending' | 'Paying' | 'Completed' | 'Declined' | 'Cancelled' required
sender_idstring uuid required
receiver_idstring uuid required
transfer_idstring nullable
request_type'invoice' | 'null' nullable
due_atstring date-time nullable
split_idstring nullable
recurring_intervalstring nullable
reminded_atstring date-time nullable
last_failed_atstring date-time nullable
last_failed_reasonstring nullable

One plain classified sentence, never the raw node error.

created_atstring date-time nullable
chat_idstring nullable

Changes

No recorded changes to this operation across all 3 revisions of this API.