Skip to content

Instantly share code, notes, and snippets.

@allsecure-pay
Created December 19, 2018 10:58
Show Gist options
  • Save allsecure-pay/48b67f1a986ae38877a18834f3891e9c to your computer and use it in GitHub Desktop.
Save allsecure-pay/48b67f1a986ae38877a18834f3891e9c to your computer and use it in GitHub Desktop.
SecurePay-CURL (Status)
#!/bin/bash
if [ -z "$1" ]; then
echo "checkoutId required (usage: ./status.sh {checkoutId}"
else
curl https://test.oppwa.com/v1/checkouts/$1/payment
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment