Get payments account details

post

/bi/v1/{orgIdentifier}/getPaymentAccountDimensions

First Available Version: 20.1.11

Gets the payments account details. This API only returns data for customers using Oracle MICROS Payment Cloud Service.

Request

Path Parameters
Body ()
The request body defines the details of the API request.
Root Schema : paymentAccountDimensionsPayload
Type: object
Request payload for payment account dimensions
Show Source
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : paymentAccountDimensions
Type: object
The response body contains information about the payment account.
Show Source
Nested Schema : accounts
Type: array
An array of accounts
Show Source
Nested Schema : accounts
Type: object
The response body contains information about the account holder.
Show Source
  • Title: Unique code of the account
    Maximum Length: 50
    Unique code of the account
  • Title: Unique code of the account holder
    Maximum Length: 128
    Unique code of the account holder
  • Title: Name of the account
    Maximum Length: 50
    Name of the account
  • Title: Status of the payment account
    Status of the payment account.
    0 = INACTIVE
    1 = ACTIVE
    2 = SUSPENDED
    3 = CLOSED
    4 = PENDING
    5 = PASSED
  • Title: Credit card statement name
    Maximum Length: 100
    Name as it appears on card holder's credit card statement
  • Title: Date the account was created
    Date the account was created

400 Response

Bad Request
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

401 Response

Unauthorized
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

403 Response

Service Unavailable
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

404 Response

Resource Not Found
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

Default Response

Unexpected Error
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source
Back to Top

Examples

The following example shows how to get the payments account details by submitting a POST request on the REST resource using cURL. For more information, see Use cURL

curl -i -X POST -H "Authorization: Bearer 
  
   " -H "Content-Type:application/json" -d {"locRef":"1234"} https://baseurl/bi/v1/orgidentifier/getPaymentAccountDimensions 
  

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK  Date: Tue, 20 Oct 2020 21:24:33 GMT  Transfer-Encoding: chunked  Content-Type: application/json

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
 "locRef": "1234",
 "accounts":[{
   "acctHldrCode": "123456789",
   "acctCode": "8516212653197782",
   "acctName": "Account 1",
   "createdDt": "2021-05-17",
   "acctStatus": 1,
   "ccStmtName": "Account 1"
 }]
}
Back to Top