Report the payment transaction

The server reads the transaction on-chain and measures what reached the recipient in the invoice token. The payer must be the signer and the transaction newer than the invoice. Only a confirmed payment reserves a hash: a hash pays each recipient once (tx_already_used for a second invoice of the same recipient and token); different recipients in one transaction are a batch payout.

post/invoices/{id}/payments

Request

  • Base URL: https://swap.vurto.cc/v1
  • URL: https://swap.vurto.cc/v1/invoices/{id}/payments
  • Auth: none required

Path parameters

idstring required

INV-XXXX-XXXX, or the 8-character id.

Request body

payerstring required
txHashstring required

EVM hash or Solana signature.

method'transfer' | 'swap'

Response

Already recorded, re-checked

Changes

No recorded changes to this operation across all 1 revision of this API.