Payment Methods

Get payment method

Changed on

Get details of a specific payment method by its ID. Returns 404 if the payment method is not found or not owned by the requesting entity.

get/v2/payment-methods/{paymentMethodId}

Request

  • Base URL
    https://api.cdp.coinbase.com/platform
  • Auth
    HTTP bearer

Path parameters

paymentMethodId, string required

The ID of the Payment Method, which is a UUID prefixed by the string paymentMethod_.

Example:paymentMethod_8e03978e-40d5-43e8-bc93-6894a57f9324

The unique identifier of the payment method.

Response

Successfully retrieved payment method.

union required

A payment method linked to your entity. Payment methods represent external financial instruments that can be used as a target for transfers.

The paymentRail field indicates which type-specific details object is present. Type-specific fields are nested under a key matching the rail name (e.g., fedwire, swift).

FedwirePaymentMethod required

A Fedwire (domestic USD wire) payment method linked to your entity.

OR
SwiftPaymentMethod required

A SWIFT (international wire) payment method linked to your entity.

OR
SepaPaymentMethod required

A SEPA (Single Euro Payments Area) payment method linked to your entity.

Example response

{
  "paymentMethodId": "paymentMethod_8e03978e-40d5-43e8-bc93-6894a57f9324",
  "paymentRail": "fedwire",
  "active": true,
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:30:00Z",
  "fedwire": {
    "asset": "usd",
    "bankName": "ALLY BANK",
    "accountLast4": "1234",
    "routingNumber": "124003116"
  }
}

Changes

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    1 more change in this revision