onrampAvailability
Signature
Section titled “Signature”onrampAvailability#f9c84973 flags:# allowed:flags.0?true buy_allowed:flags.1?true country_code:string state:flags.2?string methods:Vector<OnrampMethodAvailability> = OnrampAvailability;Result type
Section titled “Result type”OnrampAvailability
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| allowed | flags.0?true | flags.0 | — | |
| buy_allowed | flags.1?true | flags.1 | — | |
| country_code | string | — | — | |
| state | flags.2?string | flags.2 | — | |
| methods | Vector |
— | — |
| Parameter | Bit | Meaning |
|---|---|---|
| allowed | 0 | Controlled by flags; present when this bit is set. |
| buy_allowed | 1 | Controlled by flags; present when this bit is set. |
| state | 2 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import OnrampAvailabilityPublic access: miniproto.raw.types.OnrampAvailability.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
OnrampAvailability - Returned by:
payments.getOnrampAvailability