question

anaslaaouini avatar image
anaslaaouini Deactivated asked

I am not able to createa New ATM Card (2)

Hello,

This afternoon, I wasn't able to create a New ATM Card even when I used the same customerId for the checking account and the ATM card:(Retail Banking USA ---->Retail Core US Cards (v1)----> create a New ATM Card )
with the following body parameters:
body={ "customerId": "20546457-187c-33d5-aea8-6538403e47cc","accountId": "8345099355A11","atmAccountType": "A11"}.
which corresponds to the following format:
{
"customerId": "string. Tokenized Customer Id",
"accountId": "string. Tokenized Deposit Account Number and Account Type",
"atmAccountType": "string. ATM Account Type of the Card"
}
when I tried to do it, I got the following response:
Could not access protected resource. Server returned http code: 400

======================================================================
Actually,

I created a new customer/member (Retail Banking USA ---->Retail Core US Customers (v1)---->create a new customer/member)
with the followwing body parameters:
body={"lastName": "SmithDEF","firstName": "JohnDEF","middleName": "Van","gender": "Male","taxId": "123456789","taxIdType": "SSN","customerCategoryId": "210","birthDate": "1984-01-15","addresses": [{"addressLine1": "123 Main St.","addressLine2": "","city": "Austin","state": "TX","zipCode": "78721","addressTypeId": "1"}],"phones": [{"number": "4071234567","type": "primary"}],"emails": [{"email": "johndoe@test.com","type": "primary"}],"identifications": [{"idType": "Driver's License","idValue": "F253-876-23-1782791","issueDate": "2017-01-05","expiryDate": "2017-01-05","issueState": "FL"}]}

the customer/member was created with the following parameters:
{ "customerId":"20546457-187c-33d5-aea8-6538403e47cc"}


__________________________________________________________________________________________________________________________
When I executed the following request: Retail Banking USA ---->Retail Core US Accounts (v1), I got as result:
List of ATM Account Types;
I got the following response:
[{"description":"ATM Card 16","atmAccountType":"A11"},{"description":"Instant Issue ATM Cards","atmAccountType":"A22"}]
__________________________________________________________________________________________________________________________




I also created a new checking account (Retail Banking USA ---->Retail Core US Accounts (v1)----> create a New checking account )
with the followwing body parameters:
body={ "customerId": "20546457-187c-33d5-aea8-6538403e47cc","depositProductCode": "105","nickname": "brand new saving account"}

The checking account was created with the following parameters:

#content:{"accountId":"8ca6be15-6421-33a6-84fe-d7c83abf3e9b","accountNumber":"8345099355"}
# accountId = 8ca6be15-6421-33a6-84fe-d7c83abf3e9b
# accountNumber = 8345099355

What can I do?



fusionfabric.cloud
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Dawid Rampalski avatar image
Dawid Rampalski answered

Hello,

I have a response from the API team that this API endpoint is deprecated and will be removed soon. I have requested them to update the API Catalog so that it is clear what is the current status of given API.

Sorry for the unclear status.

1 comment
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Hi,

Retail Banking USA has been set as deprecated. It is visible in the portal.

Rgds

Laurent


0 Likes 0 ·
Anais Bouque avatar image
Anais Bouque answered

Hi, it seems that when you create a card, you use the accountNumber instead of the accountId.

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

anaslaaouini avatar image
anaslaaouini Deactivated answered

Hello,

I tried to create a card using the accountNumber, and using the accountId, but It failed in both cases.

1 comment
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

You need to use the accountNumber. Can you show how you tried please?

0 Likes 0 ·
anaslaaouini avatar image
anaslaaouini Deactivated answered

I created a Customer (---->create a new customer/member) with: "customerId" =

"b8a03c5c-15fc-3a8d-ae0b-03351eb1742f" and an account (Retail Core US Accounts (v1)----> create a New checking account) with: accountId = 871d3720-5fcb-3582-9011-3f973c10e95b and
accountNumber = 8345099546

Then I tried to create an ATM card (Retail Core US Cards (v1)----> create a New ATM Card):

The body of the request for creating an ATM card is:

body={"customerId": "b8a03c5c-15fc-3a8d-ae0b-03351eb1742f","accountId": "8345099546Checking","atmAccountType": "A11"}

but It failed at execution.

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.