Hi,
I've been trying to sync our project with the new file delivery apis added to VBASS but have been getting errors in both apis.
Having already integrated with the full bin list api I'll add it as reference.
url: https://sandbox.api.visa.com/v1/binRangeDetails
request: {"requestHeader":{"requestTS":"2021-09-01T03:28:52.126","requestMessageID":"16304903321261793Z5F"},"requestData":{"binRangeSearchIndex":"0","binRangeCount":"500"}}
response code: 200
response: //huge response with 500 records as expected
url: https://sandbox.api.visa.com/filedeliveryservice/v1/binFilesMetadata
request: {"requestHeader":{"requestTS":"2021-09-01T03:32:42.164","requestMessageID":"1630490562164TOGHQW"},"requestData":{"paymentAccountType":"T"}}
response code: 400
response: {"responseHeader":{"responseTS":"2021-09-01T10:02:44.797","responseMessageId":"106VDP21529620210901100244797","requestMessageId":null},"responseData":null,"responseStatus":{"statusCode":"CDI071","statusDescription":"Request Data Invalid."}}
url: https://sandbox.api.visa.com/filedeliveryservice/v1/binFileTransfer
request: {"requestHeader":{"requestTS":"2021-09-01T03:36:34.820","requestMessageID":"1630490794820KK8F69"},"requestData":{"fileName":"VBASS_TR_LEVEL3_08132021_2.csv"}}
response code: 400
response: //null (error stream is empty)
Please advise what am I mistaking or if there are any other inputs required of me.
Thanks
Solved! Go to Solution
Hi @AbhishekS,
Thanks for trying out the new VBASS APIs. It looks like there is an inconsistency in the "requestMessageID" attribute. For the new APIs, it is "requestMessageId", please note the lower case "d". Please try that and let me know how it goes.
Hi @AbhishekS,
I've logged a ticket internally for our product team to fix this inconsistency, but I don't have an ETA. As soon as I have additional updates, I will share them here.