-
-
Save allsecure-pay/48b67f1a986ae38877a18834f3891e9c to your computer and use it in GitHub Desktop.
SecurePay-CURL (Status)
This file contains hidden or 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
#!/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