GET
/
v1
/
entities
/
{entity_id}
/
payment-methods
/
{payment_method_id}
curl --request GET \
  --url https://api.prime.coinbase.com/v1/entities/{entity_id}/payment-methods/{payment_method_id}
{
  "details": {
    "id": "<string>",
    "symbol": "<string>",
    "payment_method_type": "UNKNOWN_PAYMENT_METHOD_TYPE",
    "name": "<string>",
    "account_number": "<string>",
    "bank_code": "<string>"
  }
}

Entity ID

To retrieve your entity_id, use List Portfolios.

Use the Prime SDK or CLI to test this endpoint by following the quickstart guide and running with the following examples

PaymentMethodsService paymentMethodsService = PrimeServiceFactory.createPaymentMethodsService(client);

GetEntityPaymentMethodRequest request = new GetEntityPaymentMethodRequest.Builder()
    .entityId("ENTITY_ID_HERE")
    .paymentMethodId("PAYMENT_METHOD_ID_HERE")
    .build();

GetEntityPaymentMethodResponse response = paymentMethodsService.getEntityPaymentMethod(request);

For more information, please visit the Prime Java SDK.

Path Parameters

entity_id
string
required
payment_method_id
string
required

Response

200
application/json

A successful response.

The response is of type object.