summaryrefslogtreecommitdiff
path: root/midtrans.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-10-31 17:52:47 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-10-31 17:52:47 +0800
commitd3d482be762c6baa8b8f90366749b38f8e1d5476 (patch)
tree9433b0d801a41912444955d213d38a5a46208285 /midtrans.h
parent3ab105554ff49b0e40c6a982f3a8509737efc40b (diff)
Status & charge return strings
The most likely needed info like VA number.
Diffstat (limited to 'midtrans.h')
-rw-r--r--midtrans.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/midtrans.h b/midtrans.h
index ab040fb..33f4a43 100644
--- a/midtrans.h
+++ b/midtrans.h
@@ -23,8 +23,8 @@ extern "C" {
#endif
void midtrans_init(const char *api_key, char *pem);
-void midtrans_status(const char *order_id);
-void midtrans_charge_banktransfer(struct midtrans_banktransfer *banktransfer,
+char *midtrans_status(const char *order_id);
+char *midtrans_charge_banktransfer(struct midtrans_banktransfer *banktransfer,
struct midtrans_transaction *transaction,
char *custom_fields[]);
void midtrans_cleanup();