Withdraw Fiat V2
Get Payment Method Requirements
Returns the JSON Schema describing the information required for the selected payment method. See Dynamic Forms.
get/v2/wallets/{id}/withdraw/fiat/payment-method-requirements
Request
- Base URLhttps://api.blockradar.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Wallet identifier.
Query parameters
assetIdstring uuid required
Stablecoin asset identifier returned by the supported-assets endpoint.
currencystring required
ISO 4217 fiat currency code.
amountstring required
Decimal amount encoded as a string to preserve precision.
paymentMethodstring required
Payment-method id returned by the payment-methods endpoint.
countrystring
ISO 3166-1 alpha-2 country code.
paymentMethodCategorystring
Optional high-level payment-method category.
providerstring
Optional provider slug. Omit it to let Blockradar select an eligible provider.
Response
Successful response.
Example response
{
"statusCode": 200,
"message": "Payment method requirements fetched successfully",
"data": {
"paymentMethodId": "bank_transfer",
"schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.