Skip to content

Instantly share code, notes, and snippets.

@tanmaiaccion
Created September 25, 2018 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanmaiaccion/f9fdca558627ab9da108c8893ccafc26 to your computer and use it in GitHub Desktop.
Save tanmaiaccion/f9fdca558627ab9da108c8893ccafc26 to your computer and use it in GitHub Desktop.
auth-cancel
{
"payment_auth": [
{
"id": 1,
"instrument_token": "aaa-bb"
},
{
"instrument_token": 2,
"id": 2
},
{
"instrument_token": "SDfdsf",
"id": 3
}
],
"cancel_auth": [
{
"id": 1,
"instrument_token": "aaa-bb"
}
]
}
@tanmaiaccion
Copy link
Author

Create payment plan

curl -X POST \
  https://hos.accionbreeze.io/eft-auth/payment_auth \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 201a7809-59fb-47f8-acb5-384440d73f8c' \
  -d '{
	"instrument_token": "aa-123"
}'

Cancel payment plan

curl -X POST \
  https://hos.accionbreeze.io/eft-auth/cancel_auth \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 711e302c-441e-49c5-9d36-ae65201ad8c2' \
  -d '{
	"instrument_token": "aa-123"
}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment