Inttegro.Payouts.CancelRequest (inttegro v0.2.0)

Copy Markdown View Source

Parameters for Cancel Request in the Payouts API.

Build this struct with new!/1 and pass it to the corresponding function on Inttegro.Payouts. Required keys are enforced immediately; optional values left as nil are omitted from the request sent to Inttegro.

Schedules and manages transfers from an application balance.

Payout creation is asynchronous. The returned payout records its current state but does not by itself prove that the destination received funds. Use lookup and balance transactions for reconciliation, and reuse an idempotency key when retrying the same logical payout.

Summary

Types

t()

A validated cancel request request.

Functions

Builds a Inttegro.Payouts.CancelRequest and raises KeyError when a required field is missing.

Types

t()

@type t() :: %Inttegro.Payouts.CancelRequest{payout_id: String.t()}

A validated cancel request request.

Functions

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

Builds a Inttegro.Payouts.CancelRequest and raises KeyError when a required field is missing.