SmartPay - Payment Services --------------------------- https://apps.adelante.co.uk/SmartPay/Demo/SmartPay/Services/Http/Payment.ashx?Function=XXX&Format=... FUNCTION: ADD - Format: JSON, XML, QueryString - User: Service User Email Address - Password: Password - PaymentReference: Unique Payment Reference (Will Not Add If Already Exists) - MPOSID: ConnectPay MPOSID (Will Not Add If Already Exists) - Channel: Channel - Status: Authorised, Awaiting, Cancelled, Declined, Error, Expired, Pending - AuthCode: Payment Auth Code - PaymentDate: Payment Date - MobileNumber: Telephone - EmailAddress: Email Address - Name: Name - Address: Address - Type: Adjustment, CallCentreEndCall, CallCentreMidCall, Cash, Cheque, ChipNPIN, EmailLink, EPOS, Journal, Link, Miscellaneous, NegativeAdjustment, PostalOrder, Refund, SMSLink, Token, TonePay, Transfer, VirtualTerminal - Lines: Ref1, Ref2, Ref3, Ref4, Narrative, FundCode (#N for ID; $N for SP5ID), [GLCode], Amount - Signature: Parameter Values SHA256 Signed With Pre-Shared Key RETURNS - Result: 'OK' or 'Error Message' FUNCTION: EMAIL RECEIPT - Format: JSON, XML, QueryString - User: Service User Email Address - Password: Password - PaymentReference: Payment Reference - EmailAddress: Email Address - Signature: Parameter Values SHA256 Signed With Pre-Shared Key RETURNS - Result: 'OK' or 'Error Message' FUNCTION: GET - Format: JSON, XML, QueryString - User: Service User Email Address - Password: Password - PaymentID: Payment ID - UID: *OR* Unique ID - Signature: Parameter Values SHA256 Signed With Pre-Shared Key RETURNS - Result: 'OK' or 'Error Message' - PaymentID: Payment ID - UID: Unique ID - PaymentReference: Payment Reference - Status: Authorised, Awaiting, Cancelled, Declined, Error, Expired, Pending - Lines: Ref1, Ref2, Ref3, Ref4, FundCode, Amount FUNCTION: GET BALANCE - Format: JSON, XML, QueryString - User: Service User Email Address - Password: Password - FundCode: Fund Code - Ref1: Reference 1 - Ref2: Reference 2 - Ref3: Reference 3 - Ref4: Reference 4 - Channel: Payment Channel - Signature: Parameter Values SHA256 Signed With Pre-Shared Key RETURNS - Result: 'OK' or 'Error Message' - Valid: Y/N - Balance: Balance FUNCTION: PAY - Format: JSON, XML, QueryString - User: Service User Email Address - Password: Password - PaymentReference: Payment Reference - Name: Name - Address: Address - EmailAddress: Email Address - Telephone: Telephone - ReturnURL: Return URL - Channel: Channel (Optional - Default = 'WEBCONNECT') - MID: ConnectPay Account ID (Optional) - Lines: Ref1, Ref2, Ref3, Ref4, Narrative, FundCode, [GLCode], Amount - Signature: Parameter Values SHA256 Signed With Pre-Shared Key RETURNS - Result: 'OK' or 'Error Message' - Link: Payment Link - Redirects to Result.aspx on Completion, Unless Return URL Specified - UID: Payment UID - Query via GET FUNCTION: PAY3DS - Format: JSON, XML, QueryString - User: Service User Email Address - Password: Password - PaymentReference: Payment Reference - EmailAddress: Email Address - BillingFirstNames: Billing first names - BillingSurname: Billing surname - BillingAddressLine1: Billing Address Line 1 - BillingAddressLine2: Billing Address Line 2 - BillingCity: Billing City - BillingCountryCode: ISO3166 Country Code eg.GB, US, IE, DE - BillingState: US State 2 digit code (Required if Country is US) - BillingPostcode: Billing Address Postcode or ZIP - Telephone: Telephone - ReturnURL: Return URL - Channel: Channel (Optional - Default = 'WEBCONNECT') - MID: ConnectPay Account ID (Optional) - Lines: Ref1, Ref2, Ref3, Ref4, Narrative, FundCode, [GLCode], Amount - Signature: Parameter Values SHA256 Signed With Pre-Shared Key RETURNS - Result: 'OK' or 'Error Message' - Link: Payment Link - Redirects to Result.aspx on Completion, Unless Return URL Specified - UID: Payment UID - Query via GET FUNCTION: PAYGUI - Format: JSON, XML, QueryString - User: Service User Email Address - Password: Password - PaymentReference: Payment Reference - Name: Name - Address: Address - EmailAddress: Email Address - Telephone: Telephone - ReturnURL: Return URL - Channel: Channel (Optional - Default = 'WEBCONNECT') - MID: ConnectPay Account ID (Optional) - Lines: Ref1, Ref2, Ref3, Ref4, Narrative, FundCode, [GLCode], Amount - Signature: Parameter Values SHA256 Signed With Pre-Shared Key RETURNS - Result: 'OK' or 'Error Message' - UID: Payment UID - Query via GET - Link: Link of the redirection page- Redirects to Result.aspx on Completion, Unless Return URL Specified FUNCTION: VALIDATE - Format: JSON, XML, QueryString - User: Service User Email Address - Password: Password - FundCode: Fund Code - Ref1: Reference 1 - Ref2: Reference 2 - Ref3: Reference 3 - Ref4: Reference 4 - Amount: Amount - Signature: Parameter Values SHA256 Signed With Pre-Shared Key RETURNS - Result: 'OK' or 'Error Message' - Valid: Y/N