RocketKOR

Introduction

Authentication

Sorting and Pagination

Errors

List Payment Reasons

Retrieve a list of payment reason IDs and their corresponding descriptions. These payment IDs can be used when creating a transaction. Use the page and size query parameters to limit the number of results returned.

Endpoint

GET /payment-reasons

Authorization Header

Authorization: Bearer <access_token>

where <access_token> is your RocketKOR access token.

Request Body

None

Returns

Returns an array of payment reasons. The following fields are returned for each payment reason.

reason

string

Payment reason.

description

string

Payment reason description.

SAMPLE RESPONSE

				
					[
  {
    "reason": "healthcare-disbursements",
    "description": "Healthcare Disbursements"
  },
  {...},
  {...}
]