Documentação
InícioTokenOne
Outras documentações
  • Branding
  • Investidor
InícioTokenOne
Outras documentações
  • Branding
  • Investidor
  1. Offers
  • Introdução
    • Introdução
  • TokenOne APIs
    • Customers
      • createCustomer
      • listCustomers
      • getCustomer
      • uploadCustomerDocument
      • getCustomerVerification
      • startCustomerVerification
    • Transactions
      • listTransactions
      • getTransaction
      • createOnRamp
      • createOffRamp
      • createTransfer
    • Offers
      • listOffers
        GET
      • createOffer
        POST
      • getOffer
        GET
      • buyOffer
        POST
    • Tokens
      • listTokens
      • createToken
      • getToken
    • Issuers
      • listIssuers
      • createIssuer
      • getIssuer
      • updateIssuer
    • Distributors
      • listDistributors
      • createDistributor
      • getDistributor
      • updateDistributor
    • Esquemas
      • Schemas
        • Error
        • PageMeta
        • CustomerType
        • VerificationStatus
        • Customer
        • CustomerCreate
        • CustomersPage
        • DocumentUploadResponse
        • Verification
        • FiatTxType
        • FiatTxStatus
        • Transaction
        • TransactionsPage
        • OnRampCreate
        • OffRampCreate
        • TransferCreate
        • OfferStatus
        • Offer
        • OffersPage
        • OfferCreate
        • OfferBuyRequest
        • TokenStandard
        • Token
        • TokensPage
        • TokenCreate
        • Issuer
        • IssuersPage
        • IssuerCreate
        • IssuerUpdate
        • Distributor
        • DistributorsPage
        • DistributorCreate
        • DistributorUpdate
  1. Offers

buyOffer

Servidor de Produção
Servidor de Produção
POST
/offers/{offerId}/buy
Responsável:Não configurado

Requisição

Parâmetros de Caminho

Parâmetros Header

Parâmetros Bodyapplication/jsonNecessário

Examples

Respostas

🟢202Aceito
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/offers//buy' \
--header 'Idempotency-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer_id": "7f2a1b2c-1111-2222-3333-aaaaaaaaaaaa",
    "quantity": 10
}'
Response Response Example
{
    "purchase_id": "p-1234",
    "status": "ACCEPTED",
    "accepted_at": "2025-09-17T19:00:00Z"
}
Modificado em 2025-09-18 00:15:00
Página anterior
getOffer
Próxima página
listTokens
Built with