mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* chore: rename 'adjustement' to 'adjustment' * chore: rename more 'adjustement' and also redundant 'status' * chore: regenerate openapi files * chore: remove all typos referencing 'adjusments' * chore: fix some typos in comment, allow for backward compatibility * chore: improve backward comp * chore: also rename file names * chore: drop change in payment_status enum to keep backward compatibility * chore: also revert openapi + sdk --------- Co-authored-by: Alecz <[email protected]> Co-authored-by: fabrice guery <[email protected]>
10 KiB
10 KiB
TransferInitiation
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
ID |
string | ✔️ | N/A | XXX |
Reference |
string | ✔️ | N/A | |
CreatedAt |
time.Time | ✔️ | N/A | |
ScheduledAt |
time.Time | ✔️ | N/A | |
Description |
string | ✔️ | N/A | |
SourceAccountID |
string | ✔️ | N/A | |
DestinationAccountID |
string | ✔️ | N/A | |
ConnectorID |
string | ✔️ | N/A | |
Provider |
string | ✔️ | N/A | |
Type |
components.TransferInitiationType | ✔️ | N/A | |
Amount |
*big.Int | ✔️ | N/A | |
InitialAmount |
*big.Int | ✔️ | N/A | |
Asset |
string | ✔️ | N/A | USD |
Status |
components.TransferInitiationStatus | ✔️ | N/A | |
Error |
*string | ➖ | N/A | |
Metadata |
map[string]string | ➖ | N/A | |
RelatedPayments |
[]components.TransferInitiationPayments | ➖ | N/A | |
RelatedAdjustments |
[]components.TransferInitiationAdjustments | ➖ | N/A |