GET
/
v1
/
buy
/
user
/
{partnerUserRef}
/
transactions
curl --request GET \
  --url https://api.developer.coinbase.com/onramp/v1/buy/user/{partnerUserRef}/transactions \
  --header 'Authorization: Bearer <token>'
{
  "nextPageKey": "<string>",
  "totalCount": 123,
  "transactions": [
    {
      "coinbaseFee": {
        "currency": "<string>",
        "value": "<string>"
      },
      "completedAt": "2023-11-07T05:31:56Z",
      "contractAddress": "<string>",
      "country": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "endPartnerName": "<string>",
      "exchangeRate": {
        "currency": "<string>",
        "value": "<string>"
      },
      "failureReason": "FAILURE_REASON_BUY_FAILED",
      "networkFee": {
        "currency": "<string>",
        "value": "<string>"
      },
      "partnerUserRef": "<string>",
      "paymentMethod": "UNSPECIFIED",
      "paymentSubtotal": {
        "currency": "<string>",
        "value": "<string>"
      },
      "paymentTotal": {
        "currency": "<string>",
        "value": "<string>"
      },
      "paymentTotalUsd": {
        "currency": "<string>",
        "value": "<string>"
      },
      "purchaseAmount": {
        "currency": "<string>",
        "value": "<string>"
      },
      "purchaseCurrency": "<string>",
      "purchaseNetwork": "<string>",
      "status": "ONRAMP_TRANSACTION_STATUS_CREATED",
      "transactionId": "<string>",
      "txHash": "<string>",
      "type": "ONRAMP_TRANSACTION_TYPE_BUY_AND_SEND",
      "userId": "<string>",
      "userType": "USER_TYPE_AUTHED",
      "walletAddress": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter your JSON Web Token (JWT) here. Refer to the Generate JWT section of our Authentication docs for information on how to generate your Bearer Token.

Path Parameters

partnerUserRef
string
required

The partnerUserId parameter used to initialize the Onramp Widget

Query Parameters

pageKey
string

Page key returned by this API for pagination

pageSize
integer

The number of transactions to return, between 1 and 1000

Response

200
application/json

OK

Get Onramp Transactions by ID API response