Rest API

Jusciamua
Regular Visitor

Rest API

I am currently implementing the e-payment via RestFul API. I would appreciate your help as I don't know how to add the merchant information for authentication. Thanks in advance
 
{
  "clientReferenceInformation": {
    "code""TC50171_3"
  },
  "paymentInformation": {
    "card": {
      "number""4111111111111111",
      "expirationMonth""12",
      "expirationYear""2031"
    }
  },
  "orderInformation": {
    "amountDetails": {
      "totalAmount""102.21",
      "currency""USD"
    },
    "billTo": {
      "firstName""John",
      "lastName""Doe",
      "address1""1 Market St",
      "locality""san francisco",
      "administrativeArea""CA",
      "postalCode""94105",
      "country""US",
      "email""test@cybs.com",
      "phoneNumber""4158880000"
    }
  }
}
3 REPLIES 3
DianaTran-Yee
Visa Developer Support Specialist

Re: Rest API

Hi @Jusciamua,

 

Which API product are you sandbox testing with? For a list of our API products, please refer to our API Browser page here: https://developer.visa.com/apibrowser 

 

To troubleshoot the issue, please provide the information below:

1. Endpoint
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

DianaTran-Yee
Visa Developer Support Specialist

Re: Rest API

Hi @Jusciamua,

 

Are you still experiencing an issue? If so, please submit your answers to the questions in my prior message to you. 

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

DianaTran-Yee
Visa Developer Support Specialist

Re: Rest API

Hi @Jusciamua,

 

I haven't received a reply from you so I'll take you off my contact list. Feel free to reach out to our community forum if you have questions.

 

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.