Discussions

Ask a Question

Value is unexpected: 11540

Unable to get the proper error { "code": 50000000, "message": "Value is unexpected: 11540", "timestamp": "2022-07-19T06:46:54.747", "fileName": "VeemResponseHandler.java", "lineNumber": 89 }

Access-Control-Allow-Origin Error

I'm testing the create contact API from my localhost. Is there any way I can add this URL to the VEEM sandbox platform and avoid the CORS error?

Adaptive Payments

Hello Team, We are looking for split transactions, like Adaptive Payments functionality via API can you please help us.
ANSWERED

Search customer not suitable for creating payment.

Hello, We are integrating Veem into a market place where we have sellers and buyers. To complete a transaction we do. 1. Authorize to buyer's account 2. Search the seller by email 3. create a payment 4. apporve payment So the problem is that from the api endpoint: https://sandbox-api.veem.com/veem/v1.1/customers we do NOT receive business Type nor Phone number which will be necessary to create payments via API through https://sandbox-api.veem.com/veem/v1.1/payments Please let me know if there is a better way to support marketplaces or overcome this. Thanks

Payments

How long does the payments take to be processed
ANSWERED

createPayment error

Hi, I'm at the developer sandbox trying to get createPayment to work. I'm using your page here: https://developer.veem.com/reference/createpaymentusingpost_1 Here's my request: curl --request POST \ --url https://sandbox-api.veem.com/veem/v1.1/payments \ --header 'Accept: application/json' \ --header 'Authorization: Bearer b24dc903-5ea0-4dc1-bfe0-91eaed583d36' \ --header 'Content-Type: application/json' \ --data ' { "amount": { "currency": "USD", "number": 1000 }, "payee": { "businessName": "Shivan Eyecare", "countryCode": "US", "email": "[email protected]", "firstName": "Shivan", "lastName": "Dragon", "type": "Business", "phone": "18193180000" }, "purposeOfPayment": "Vision Claims" } ' Here's the response: { "code": 50000000, "message": "Value is unexpected: 11089", "timestamp": "2021-11-17T22:46:23.570", "fileName": "VeemResponseHandler.java", "lineNumber": 89 } The value "11089" is the customer ID for "Shivan Eyecare". (set up in my Dev Dashboard Sandbox) My curl is simply following the example. What am I doing wrong? Kind regards, David

Error 500 when Login

https://sandbox-api.veem.com/auth

Java SDK Build Failed

I followed the README steps on https://github.com/veeminc/veem-java-sdk Running "./gradlew build" resulted 24 out of 47 failed tests. I'm copying one of the
ANSWERED

Unexpected error has occurred. We apologize for the inconvenience.

I'm trying to connect to your API using Ruby's OAuth2 gem (https://github.com/oauth-xx/oauth2). I've created an account in the sandbox here, and followed the process as well as I can understand from the documentation. It appears that I'm receiving a token, but when I make a request with it, I get back the subject line. More accurately: {"code":100,"message":"Unexpected error has occurred. We apologize for the inconvenience."} Here's the series of commands I'm sending: client = OAuth2::Client.new('<client_id>', '<client_secret>', site: 'https://sandbox-api.veem.com') client.auth_code.authorize_url(redirect_uri: 'http://localhost:3000/oauth2/callback') token = client.client_credentials.get_token(redirect_uri: 'http://localhost:3000/oauth2/callback', headers: {'Authorization' => 'Basic <Base64-encoded client_id:client_secret>'}) response = token.post('/veem/v1.1/payments', params: {'notes' => 'Delivery bill', 'payee' => {'type': 'Business', 'firstName': 'Joe', 'lastName': 'Doe', 'businessName': 'BAC Inc.', 'countryCode': 'US', 'email': '[email protected]', 'phone': '19052333333'}, 'payeeAmount': {'currency': 'USD', 'number': '1000'}, 'purposeOfPayment': 'Goods'}, headers: {'X-Request-Id': '3b6a6436-561d-4643-9f83-ce837999213a'}) Any assistance you can provide would be much appreciated! Thanks, Aaron
ANSWERED

Trying to get PHP SDK to work

Hello, I'm trying to get the Veem sdk, posted on Github, to work. I've installed it using Composer but I can't get the script to find the classes. I've included the autoload file. Any help would be appreciated. Thanks. Chris