curl --request PATCH \
--url 'https://api.moonpay.com/v1/virtual-accounts/onramp/{id}?apiKey=' \
--header 'Content-Type: application/json' \
--data '
{
"destinationCurrencyCode": "<string>"
}
'{
"createdAt": "<string>",
"customerId": "<string>",
"destination": {},
"destinationCurrency": {},
"id": "<string>",
"organizationId": "<string>",
"sourceCurrency": {},
"status": "pending",
"type": "auto_on_ramp",
"updatedAt": "<string>",
"destinations": [
"<unknown>"
],
"externalCustomerId": "<string>",
"source": "<unknown>",
"sources": [
"<unknown>"
]
}curl --request PATCH \
--url 'https://api.moonpay.com/v1/virtual-accounts/onramp/{id}?apiKey=' \
--header 'Content-Type: application/json' \
--data '
{
"destinationCurrencyCode": "<string>"
}
'{
"createdAt": "<string>",
"customerId": "<string>",
"destination": {},
"destinationCurrency": {},
"id": "<string>",
"organizationId": "<string>",
"sourceCurrency": {},
"status": "pending",
"type": "auto_on_ramp",
"updatedAt": "<string>",
"destinations": [
"<unknown>"
],
"externalCustomerId": "<string>",
"source": "<unknown>",
"sources": [
"<unknown>"
]
}Documentation Index
Fetch the complete documentation index at: https://dev.moonpay.com/llms.txt
Use this file to discover all available pages before exploring further.
API Key authentication using a publishable API key in the query string.
The key is passed as the apiKey query parameter.
Publishable keys are safe to expose in client-side code.
[^\/#\?]+?UpdateOnRampVirtualAccountBody
\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z?pending, completed, failed, manual_review auto_on_ramp, auto_off_ramp \d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z?