200.username:passwordAuthorization: Basic *****************curl --location '/senangpay/apiv1/pay_cc' \
--header 'Authorization: Basic <encoded-value>' \
--data-urlencode 'name=Abu Bin Ali' \
--data-urlencode 'email=ahmad@google.com' \
--data-urlencode 'detail=Order for product id #4' \
--data-urlencode 'phone=0109876543' \
--data-urlencode 'order_id=123' \
--data-urlencode 'amount=200' \
--data-urlencode 'token=tok_a1b2c3d4e5f6' \
--data-urlencode 'hash=a3f5c9e1b2d4f87a93c61e4d2b7a0f559d3e8c21f6b4a07d'status field for success or failure.{
"status": 0,
"transaction_id": "14951544812820",
"order_id": "123",
"amount_paid": 200,
"msg": "Payment was successful",
"hash": "99b6e99bb0aa663101b1e4f6f8d69c2efb41ef81a5a7aa030bf76a098a03d233"
}