checkout / checkout-sdk-java

Checkout.com SDK for Java
MIT License
25 stars 29 forks source link

Supporting merchant_category_code under Processing #411

Closed mohamad-rmeity-cko closed 5 months ago

mohamad-rmeity-cko commented 5 months ago

Environment

Description

Hello Team, Remitly (T1) have started processing transactions under 2 MCCs, and would like to have the ability to consume the MCC as part of the response. I'm aware that it is currently not listed in the API reference, and this is something that I have raised with our docs team to get it resolved. It is however listed under the 'GET Payment Details', and has the same type: https://api-reference.checkout.com/#operation/getPaymentDetails!c=200&path=0/processing/merchant_category_code&t=response

Proposed Solution

Adding merchant_category_code under https://github.com/checkout/checkout-sdk-java/blob/master/src/main/java/com/checkout/payments/PaymentProcessing.java

armando-rodriguez-cko commented 5 months ago

Hi @mohamad-rmeity-cko I believe that you are looking for this class: https://github.com/checkout/checkout-sdk-java/blob/master/src/main/java/com/checkout/payments/response/ProcessingData.java

armando-rodriguez-cko commented 5 months ago

New release launched with the changes: https://github.com/checkout/checkout-sdk-java/pull/415