Created
December 10, 2014 15:25
-
-
Save vanjikumaran/c7574441327e4927ed5a 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
<api xmlns="http://ws.apache.org/ns/synapse" name="strip" context="/strip"> | |
<resource methods="POST GET"> | |
<inSequence> | |
<header name="Authorization" scope="transport" value="Bearer XXXXXXXXXXXXXXXXXXXXX"></header> | |
<property name="uri.var.chargeId" expression="json-eval($.chargeId)" scope="default" type="STRING"></property> | |
<payloadFactory media-type="json"> | |
<format></format> | |
<args></args> | |
</payloadFactory> | |
<property name="ContentType" value="application/x-www-form-urlencoded" scope="axis2"></property> | |
<property name="messageType" value="application/x-www-form-urlencoded" scope="axis2"></property> | |
<property name="FORCE_POST_PUT_NOBODY" value="true" scope="axis2" type="BOOLEAN"></property> | |
<call> | |
<endpoint> | |
<address uri="https://api.stripe.com/v1/charges/{uri.var.chargeId}/refunds"></address> | |
</endpoint> | |
</call> | |
<respond></respond> | |
</inSequence> | |
</resource> | |
</api> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment