For our customers in Colombia we want to offer the Cash payment methods on the checkout page.
First we make the call to “/v1/payment_methods/country?country=CO” to get all the payment methods available for Colombia, and the response includes all the Cash Payment Methods. After that we pass them in the “payment_method_types_include” parameter for the “/v1/checkout” call to create the checkout page.
However we get “ERROR_HOSTED_PAGE_UNRECOGNIZED_PAYMENT_METHOD_TYPES_TO_INCLUDE” error on the “/v1/checkout” call. We are following the instructions from the documentation, first calling the “Get payment methods by country” API method and then calling the create checkout page with the payment methods provided.
Why does the “/v1/payment_methods/country?country=CO” API method return methods which are then not valid for the “/v1/checkout” API call? How can we include the cash payment methods for our customers on the checkout page?