1. OffRamp
CryptopocketAPI
  • Common
    • Authentication
      POST
    • Token Price
      GET
    • Get Available Assets
      GET
  • Users
    • List customers
      GET
    • Create customer
      POST
    • Create customer with delegated KYC
      POST
    • Create company customer
      POST
    • Retrieve KYC/KYB verification status
      GET
    • Create enhanced verification link
      POST
    • Upload Customer Document
      POST
    • Find User
      GET
  • OnRamp
    • List payment methods
      GET
    • Get Quote
      GET
    • Create Payment Intend
      POST
    • Create guided payment intent
      POST
    • Retrieve payment
      GET
    • List on-ramp transactions
      GET
  • OffRamp
    • Get quote
      GET
    • Create OffRamp Transaction
      POST
    • Retrieve off-ramp transaction status
      GET
    • List off-ramp transactions
      GET
  • Bank Accounts
    • List bank accounts
      GET
    • List account transactions
      GET
    • Reconcile payment with bank transaction
      POST
  • Webhooks
    • Available webhooks
    • Webhook Event Subscribe
    • Webhook Event Update
  • Docs
    • Sandbox Environment Instructions
    • CryptoPocket Integration Guide — Buy Flow (On-Ramp)
  • Raíz
  • Schemas
    • FindUserSuccess
    • ReconcilePaymentRequest
    • IntegrationError
    • BankAccount
    • ReconcilePaymentSuccessResponse
    • BankAccountsListResponse
    • ErrorResponse
    • BankAccountTransaction
    • Pagination
    • BankAccountTransactionsResponse
  1. OffRamp

Create OffRamp Transaction

Entorno sandbox
https://sandbox.cryptopocket.io/api
Entorno sandbox
https://sandbox.cryptopocket.io/api
POST
/createRampoff
Creates a ramp-off transaction, allowing users to exchange tokens for fiat currency.
A transaction is generated that provides a wallet address where the user must send the tokens. Once the tokens are received, they are converted into the equivalent amount in fiat currency.

Solicitud

Parámetros de Header

Parámetros del Body application/json

Ejemplos

Respuestas

🟢200
application/json
Bodyapplication/json

Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location 'https://sandbox.cryptopocket.io/api/createRampoff' \
--header 'auth: PK-617403359384' \
--header 'Content-Type: application/json' \
--data '{
  "amount": 100,
  "symbol": "usdc",
  "chain": "polygon",
  "user_id": 106,
  "fiat_symbol": "EUR"
}'
Respuesta Ejemplo de Respuesta
{
    "status": "ok",
    "data": {
        "rampoff": "payment created",
        "wallet": "0xe0Ccfeb1EAd1cA32e0979Eb9b9dFca99D609aE2A",
        "id": "ExM63FJ9ZsAZF2VfTfU4rn7Sq"
    }
}
Modificado en 2026-06-08 15:49:07
Anterior
Get quote
Siguiente
Retrieve off-ramp transaction status
Built with