conekta / conekta-node

Node.js library for Conekta api calls
https://conekta.com
MIT License
39 stars 22 forks source link

What is the correct format to send a reason when refund an order #40

Closed fdorantesm closed 7 years ago

fdorantesm commented 7 years ago

Hi, im trying to put a reason when refunding, but i've got "invalid format for reason" "code": "conekta.errors.parameter_validation.reason.invalid"

I want to send "Canceled by supervisor", sent "canceled_by_supervidor" and does not work too.

Regards!

JoValo commented 7 years ago

Hello @WCLab, in the documentation you can find the reasons available for the refunds. Note: Refunds are only possible on payments made by credit card or debit card. Https://developers.conekta.com/api?vertical=event#refund-order

fdorantesm commented 7 years ago

Hi @JoValo, thank you so much. I was finding on default arguments dropdown.

Best regards!

JoValo commented 7 years ago

@WCLab The reasons are the following, they do not change in the different verticals that we present in the documentation: captura de pantalla 2017-08-10 a la s 12 59 50