ggez-banking-sdk
Version:
A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.
103 lines (102 loc) • 4.02 kB
JavaScript
const BlockchainActions = {
Send: "send",
MultiSend: "multisend",
Delegate: "delegate",
Undelegate: "undelegate",
};
// #region "Codes"
const StructTicketMessageDescriptionCodes = {
Custom: "M000",
Identification_Is_Being_Verified: "M100",
Identification_Verification_Failed: "M101",
Upload_Identification_With_Selfie_Picture: "M102",
Identification_Upload_Succeeded: "M103",
Upload_Identification_Failed: "M104",
Identification_Verification_Succeeded: "M105",
Upload_One_Identification: "M106",
Upload_Two_Identifications: "M107",
Update_One_Identification: "M108",
Update_Two_Identifications: "M109",
Update_Identification_With_Selfie_Picture: "M110",
Upload_POA_Document: "M111",
POA_Document_Is_Being_Verified: "M112",
POA_Document_Accepted: "M113",
POA_Document_Rejected: "M114",
POA_Document_Canceled: "M115",
Upload_Bank_Statement_Document: "M116",
Upload_Credit_Card_Statement_Document: "M117",
Upload_General_Requirements_Document: "M118",
Bank_Account_Is_Being_Verified: "M119",
Credit_Card_Is_Being_Verified: "M120",
General_Requirements_Is_Being_Verified: "M121",
Bank_Statement_Document_Accepted: "M122",
Bank_Statement_Document_Rejected: "M123",
Bank_Statement_Document_Canceled: "M124",
Credit_Card_Statement_Document_Accepted: "M125",
Credit_Card_Statement_Document_Rejected: "M126",
Credit_Card_Statement_Document_Canceled: "M127",
General_Requirements_Document_Accepted: "M128",
General_Requirements_Document_Rejected: "M129",
General_Requirements_Document_Canceled: "M130",
Add_Bank_Account: "M131",
Add_Credit_Card: "M132",
Bank_Account_Added_Successfully: "M133",
Credit_Card_Added_Successfully: "M134",
Manual_Identification_Verification_Required: "M135",
Address_Upload_Succeeded: "M136",
Manual_Address_Verification_Required: "M137",
Address_Verification_Succeeded: "M138",
Address_Verification_Failed: "M139",
Add_Identification: "M140",
Identification_Added_Successfully: "M141",
Upload_Identification_Document: "M142",
Document_Has_Been_Rejected: "M143",
Document_Has_Been_Accepted: "M144",
Upload_Organization_Document: "M145",
Organization_Is_Being_Verified: "M146",
Add_Organization: "M147",
Organization_Added_Successfully: "M148",
Organization_Document_Accepted: "M149",
Organization_Document_Rejected: "M150",
Organization_Document_Canceled: "M151",
Resolve_Issue_Related_To_Organization_Document: "M156",
Resolve_Issue_Related_To_POA_Document: "M152",
Resolve_Issue_Related_To_Credit_Card_Document: "M153",
Resolve_Issue_Related_To_Bank_Account_Document: "M154",
Resolve_Issue_Related_To_Identification_Document: "M155",
Identification_Verification_Canceled: "M157",
Phone_Verification: "M158",
};
const SystemResponses = {
Approved: "0000",
Create_User_Completed_Partially: "0100",
Pending_Transaction: "0400",
Invalid_Verification_Code: "2053",
Verification_Code_Is_Expired: "2054",
Invalid_Email_Or_Phone: "2585",
Transaction_Hash_Already_Exists: "4180",
Blockchain_Transaction_Amount_Difference_Exceeds_Allowed_Percentage: "4181",
Payment_Service_Setup_Blockchain_Deposits_Auto_Approve_percent_Not_Found: "4182",
Invalid_Token: "5025",
Token_Is_Not_Active: "5035",
Invalid_Authentication_Code: "6049",
Internal_Server_Error: "7001",
};
// #endregion
const OpenPaydTransactionStatus = {
Initiated: "INITIATED",
Processing: "PROCESSING",
Released: "RELEASED",
Completed: "COMPLETED",
Failed: "FAILED",
Cancelled: "CANCELLED",
};
const OpenPaydTransactionType = {
Adjustment: "ADJUSTMENT",
Transfer: "TRANSFER",
Exchange: "EXCHANGE",
Withdraw: "WITHDRAW",
Payout: "PAYOUT",
PayIn: "PAYIN",
};
export { BlockchainActions, OpenPaydTransactionStatus, OpenPaydTransactionType, StructTicketMessageDescriptionCodes, SystemResponses, };