Skip to main content
PATCH
/
v2
/
register-tx
Register a tx for a request (V2 body includes token-swap route).
curl --request PATCH \
  --url https://gateway-api-mainnet.gobob.xyz/v2/register-tx \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "onramp": {
    "order_id": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
    "bitcoin_tx_hex": "<string>",
    "bitcoin_txid": "<string>"
  }
}
'
{
  "onramp": {
    "txid": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

V2 register-tx body (onramp, offramp, and token swap).

onramp
object
required

Response

Register successful

onramp
object
required