Authorizations
Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>
.
Path Parameters
Unique identifier of the Sell and Pay transaction to update
Body
Request body for updating a Sell and Pay transaction. All fields are optional, allowing partial updates to the transaction details.
Updated payment amount in fiat currency. Must be a positive decimal number with up to 8 decimal places. This represents the amount to be paid to the merchant.
"10000.50"
Updated cryptocurrency for deposit (e.g., BTC, ETH, USDC). Changing this may affect the deposit address and exchange rate.
10
"USDC"
Updated blockchain network for cryptocurrency deposit (e.g., ETHEREUM, POLYGON). Must be compatible with the specified deposit currency.
128
"POLYGON"
Updated cryptocurrency refund address. Should be a valid address on the deposit network where funds will be returned in case of transaction failure.
255
"0x4e88BBeFF059BDDF5BF90ee0816E86eDf4214b32"
Response
Sell and Pay transaction successfully updated
Unique identifier for the Sell and Pay transaction assigned by the B2B Service
"a3b2c1d0-1234-5678-90ab-cdef12345678"
Timestamp when the Sell and Pay transaction was created in ISO 8601 format
"2024-01-26T12:45:00.078230Z"
Timestamp when the transaction will expire if not completed in ISO 8601 format. After expiration, cryptocurrency deposits will not be processed.
"2024-01-26T13:45:00.078230Z"
Unique identifier of the customer who initiated the transaction
"b6cecc1f-c90d-424b-adaa-c82b780696c1"
Trade execution details. This will be null until the trade is executed and contains information about the cryptocurrency-to-fiat conversion. Details of the cryptocurrency-to-fiat trade execution
Payment order details for the merchant payment. Contains information about the QR code payment and merchant details. Details of the payment order to the merchant
Payment amount in fiat currency to be paid to the merchant
"10000.50"
Amount of cryptocurrency required to complete the payment, calculated based on current exchange rates and fees
"10.25"
Fiat currency code for the payment (e.g., ARS, MXN, USD)
"ARS"
Cryptocurrency code for the deposit (e.g., BTC, ETH, USDC)
"USDC"
Blockchain network identifier for the cryptocurrency deposit (e.g., ETHEREUM, POLYGON, BITCOIN)
"ETHEREUM"
Cryptocurrency address where the customer should send the deposit. This is a unique address generated for this transaction.
"0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D"
Information about the cryptocurrency deposit made by the customer. This will be null until a deposit is detected on the blockchain. Information about the cryptocurrency deposit received from the customer
Current status of the Sell and Pay transaction. INCOMPLETE: missing required fields. PENDING: ready to execute. WAITING_DEPOSIT: executed and ready to receive crypto deposit. RECEIVED_DEPOSIT: crypto deposit detected on blockchain. CONFIRMED_DEPOSIT: crypto deposit confirmed. TRADE_COMPLETED: cryptocurrency successfully converted to fiat. QR_EXECUTION_PENDING: preparing payment to merchant. COMPLETED: payment successfully made to merchant. CANCELED: transaction cancelled. REFUND_PENDING: refund being processed. REFUNDED: funds refunded to customer.
INCOMPLETE
, PENDING
, WAITING_DEPOSIT
, RECEIVED_DEPOSIT
, CONFIRMED_DEPOSIT
, TRADE_COMPLETED
, QR_EXECUTION_PENDING
, COMPLETED
, CANCELED
, REFUND_PENDING
, REFUNDED
"PENDING"
Cryptocurrency address for refunds in case of transaction failure or cancellation