RocketKOR

Introduction

Authentication

Sorting and Pagination

Errors

Retrieve Recipient Default Financial Account

Retrieve the details for a recipient’s default Financial Account. The response includes details about the Financial Account, as well as details for the card or bank account linked to the Financial Account.

Endpoint

GET /recipients/{recipientId}/financial-accounts/default

Authorization Header

Authorization: Bearer <access_token>

where <access_token> is your RocketKOR access token.

Path Parameters

recipientId  REQUIRED

string (UUID)

Recipient Account ID.

Request Body

None

Returns

Returns details for the recipient’s default Financial Account. The Card Financial Account object or Bank Financial Account object is returned, depending on whether the Financial Account is a card-based account or a bank account.

SAMPLE RESPONSE

				
					{
  "id": "6a017f06-83a3-44b7-be6f-5e5cae4a9ed7",
  "businessAccountId": "ccab4527-c320-4952-a38c-aebeb719eeab",
  "recipientId": "8e47465c-87b4-4a98-81b1-11dd01869145",
  "name": "Debit Card",
  "defaultFlag": true,
  "currency": "USD",
  "state": "ACTIVE",
  "createdAt": "2021-07-08T21:10:51.610Z",
  "updatedAt": "2021-07-08T21:10:51.610Z",
  "accountType": "EXTERNAL",
  "card": {
    "firstName": "Mark",
    "middleName": "David",
    "lastName": "Strong",
    "type": "DEBIT",
    "expiry": "2027-12",
    "billingAddress": {
      "addressLine1": "625 Queen St",
      "addressLine2": "",
      "addressLine3": "",
      "city": "Vancouver",
      "state": "BC",
      "country": "Canada",
      "postalCode": "V5K 0A1"
    },
    "cardNumber": "84563876999"
  }
}