-
-
Save hitherejoe/9b5fd907f2617bc4fd9cb22e550c2bee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private val gatewayInformation = JSONObject().apply { | |
put("gateway", "example") | |
put("gatewayMerchantId", "exampleGatewayMerchantId") | |
} | |
private val tokenizationSpecification = JSONObject().apply { | |
put("type", "PAYMENT_GATEWAY") | |
put("parameters", gatewayInformation) | |
} | |
private val cardPaymentMethod = JSONObject().apply { | |
put("apiVersion", 2) | |
put("apiVersionMinor", 0) | |
put("tokenizationSpecification", tokenizationSpecification) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment