{"openapi":"3.1.0","info":{"title":"LINK4TECH Kykeon Payment API","description":"**LINK4TECH Kykeon – Advanced Payment Processing API**\n\nLINK4TECH Kykeon is a powerful and secure payment processing API designed for E-commerce and POS (Point of Sale) systems. It enables businesses to seamlessly process transactions, ensuring fast, reliable, and secure payments** across multiple channels.\n\n---\n\n**Key Features:**\n- **Pre-Authorization (Pre-Auth):** Reserve funds on a customer's card before finalizing a transaction.\n- **Capture:** Confirm and finalize a previously authorized transaction.\n- **Void:** Cancel an authorized transaction before settlement.\n- **Refund:** Process full or partial refunds for completed transactions.\n- **Payout:** Transfer OCT funds.\n- **Hosted Payment Page (HPP):** Redirect cardholders to a Kykeon-hosted checkout with 3-D Secure, Apple Pay and Google Pay; read the outcome via the session API.\n- **Transaction Status Inquiry:** Retrieve real-time transaction details for transparency and reconciliation.\n- **DCC (Dynamic Currency Conversion):** Allow customers to pay in their preferred currency while merchants receive settled amounts in their local currency.\n- **Heartbeat API:** A real-time monitoring system that checks the status of services to ensure high availability.\n- **Reporting API:** Generate detailed transaction reports, including settlement details and reconciliation insights.\n\n---\n\n**Why Choose LINK4TECH Kykeon?**\n- **Seamless API Integration:** Designed for easy integration with E-commerce platforms, POS terminals, and custom applications.\n- **High Security & Compliance:** Supports PCI DSS compliance, tokenization, and secure encryption.\n- **Fast & Scalable:** Handles high-volume transactions with low latency and real-time processing.\n- **Multi-Currency & Global Reach:** Supports various currencies and payment providers (Visa, Mastercard, etc.).\n- **Comprehensive Reporting:** Access real-time and historical transaction data via the Reporting API.\n- **Robust Error Handling & Logging:** Ensures transparent transaction tracking and debugging.\n\n---\n\n**Developer-Friendly API**\n\nWith comprehensive documentation, clear error messages, and real-time monitoring, LINK4TECH Kykeon provides developers with the tools they need to build efficient and scalable payment solutions.\n\n---\n\n**Contact Us**\n\n<div style='line-height: 1.2;'>📨 <strong>Email:</strong> <a href='mailto:support@link4.tech'>support@link4.tech</a><br>🔗 <strong>Website:</strong> <a href='https://link4.tech'>LINK4TECH</a></div>\n\n","version":"3.1.0","x-logo":{"url":"/static/link4tech.svg"}},"paths":{"/ecomapi/preauth/":{"post":{"tags":["E-commerce payment"],"summary":"Pre-authorization of a payment","description":"This endpoint handles the pre-authorization process of a payment, validating card information and ensuring available credit.","operationId":"run_pre_auth_ecomapi_preauth__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreAuthRequest"},"examples":{"VISA3d":{"summary":"VISA with 3DSecure","description":"A sample request using a VISA card for pre-authorization.","value":{"amount":"12.00","card_number":"4005529999000123","cardholder_name":"John Doe","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","currency":"EUR","cvv":"196","expiry_date":"12/31","eci":"05","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"VISA3d_instant":{"summary":"VISA with 3DSecure is instant capture","description":"A sample request using a VISA card for pre-authorization.","value":{"amount":"12.00","card_number":"4005529999000123","cardholder_name":"John Doe","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","currency":"EUR","cvv":"196","expiry_date":"12/31","eci":"05","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","is_instant_capture":true}},"MASTERCARD3d":{"summary":"MASTERCARD with 3DSecure","description":"A sample request using a MASTERCARD card for pre-authorization.","value":{"amount":"207.44","card_number":"5346932100108113","cardholder_name":"Jane Smith","cavv":"kBAYYgZVLBwElztQZ4AN8peB2CW6","ds_transaction_id":"f4c9f127-69b9-40f3-8d07-475d1dbs4d3f","currency":"EUR","cvv":"123","expiry_date":"11/25","emv_3d_secure_ver":"2.2","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"MASTERCARD3dAVS":{"summary":"MASTERCARD Address Verification Service (AVS)","description":"A sample request using a MASTERCARD card for pre-authorization with AVS","value":{"amount":"207.44","card_number":"5346932100108113","cardholder_name":"Jane Smith","cavv":"kBAYYgZVLBwElztQZ4AN8peB2CW6","ds_transaction_id":"f4c9f127-69b9-40f3-8d07-475d1dbs4d3f","currency":"EUR","cvv":"123","expiry_date":"11/25","emv_3d_secure_ver":"2.2","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","avs":{"service_indicator":"01","postal_code":"2013","address":"60 LEMESOU AVE"}}},"VISAnon3d":{"summary":"VISA without 3DSecure","description":"A sample request using a VISA card for pre-authorization.","value":{"amount":"12.00","card_number":"4005529999000123","cardholder_name":"John Doe","currency":"EUR","cvv":"196","expiry_date":"12/31","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"MASTERCARDnon3d":{"summary":"MASTERCARD without 3DSecure","description":"A sample request using a MASTERCARD card for pre-authorization.","value":{"amount":"87.61","card_number":"5346932100108113","cardholder_name":"Igo Ria","currency":"EUR","cvv":"123","expiry_date":"12/25","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"VISAseriestypeinit":{"summary":"VISA INITIAL FOR recurring or unscheduled (UCOF, Unscheduled Credential on File)","description":"VISA INITIAL FOR recurring or unscheduled. \n        Possible values for 'series_type' are 'recurring' or 'unscheduled' (UCOF, Unscheduled Credential on File)","value":{"amount":"12.00","card_number":"4005529999000123","cardholder_name":"John Doe","currency":"EUR","cvv":"196","expiry_date":"12/31","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","series_type":"unscheduled","eci":"05","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"VISAseriestypesubsequent":{"summary":"VISA SUBSEQUENT FOR recurring or unscheduled (UCOF, Unscheduled Credential on File)","description":"VISA SUBSEQUENT FOR recurring or unscheduled (UCOF, Unscheduled Credential on File)","value":{"amount":"12.00","card_number":"4005529999000123","cardholder_name":"John Doe","currency":"EUR","cvv":"196","expiry_date":"12/31","initial_transaction_id":"120312472701006919250123433812131353","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"MASTERCARDseriestypeinit":{"summary":"MASTERCARD INITIAL FOR variable_amount_recurring, fix_amount_recurring or unscheduled (UCOF, Unscheduled Credential on File)","description":"MASTERCARD INITIAL FOR recurring or unscheduled. (UCOF, Unscheduled Credential on File)\n        Possible values for 'series_type' are 'variable_amount_recurring', 'fix_amount_recurring' or 'unscheduled'","value":{"amount":"14.00","card_number":"5185520070000016","cardholder_name":"Jane Smith","currency":"EUR","cvv":"001","expiry_date":"12/25","cavv":"kBAYYgZVLBwElztQZ4AN8peB2CW6","ds_transaction_id":"f4c9f127-69b9-40f3-8d07-475d1dbs4d3f","series_type":"fix_amount_recurring","emv_3d_secure_ver":"2.2","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"MASTERCARDseriestypesubsequent":{"summary":"MASTERCARD SUBSEQUENT FOR variable_amount_recurring, fix_amount_recurring or unscheduled (UCOF, Unscheduled Credential on File)","description":"MASTERCARD SUBSEQUENT FOR recurring or unscheduled.","value":{"amount":"14.00","card_number":"5185520070000016","cardholder_name":"Jane Smith","currency":"EUR","cvv":"001","expiry_date":"12/25","initial_transaction_id":"120312472701006919250123433812131353","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"VISA3dAFT":{"summary":"VISA AFT with 3DSecure","description":"A sample request using a VISA AFT card for pre-authorization.","value":{"amount":"12.00","card_number":"4005529999000123","cardholder_name":"John Doe","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","currency":"EUR","cvv":"196","expiry_date":"12/31","eci":"05","aft":{"sender":{"name":"John Doe","address":"Street House 123","city":"Nicosia","country":"CYP"},"recipient":{"account_number":"CY74PATC40021100101122","account_number_type":"IBAN","country":"CYP","address":{"line1":"60","street":"Lemesou Avenue","city":"Nicosia","postal_code":"2014"},"name":{"full_name":"John R Doe"}},"transaction_purpose":"Other"},"transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"VISA_AFT_UNSCHEDULED_INIT":{"summary":"VISA AFT initial unscheduled payment","description":"A sample request using a VISA AFT initial unscheduled payment.","value":{"amount":"2.01","card_number":"4005529999000123","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","currency":"EUR","cvv":"196","expiry_date":"12/31","eci":"05","series_type":"unscheduled","aft":{"sender":{"name":"John Doe","address":"Street House 123","city":"Nicosia","country":"CYP"},"recipient":{"account_number":"CY74PATC40021100101122","account_number_type":"IBAN","country":"CYP","address":{"line1":"60","street":"Lemesou Avenue","city":"Nicosia","postal_code":"2014"},"name":{"full_name":"John R Doe"}},"transaction_purpose":"Other"}}},"VISA_AFT_UNSCHEDULED_SUBSEQUENT":{"summary":"VISA AFT subsequent unscheduled payment","description":"A sample request using a VISA AFT subsequent unscheduled payment.","value":{"amount":"2.22","card_number":"4005529999000123","currency":"EUR","expiry_date":"12/31","series_type":"unscheduled","eci":"07","initial_transaction_id":"090409470901004186060123624709418606","aft":{"sender":{"name":"John Doe Second","address":"Street House 321","city":"Nicosia","country":"CYP"},"recipient":{"account_number":"CY74PATC40021100101122","account_number_type":"IBAN","country":"CYP","address":{"line1":"60","street":"Lemesou Avenue","city":"Nicosia","postal_code":"2014"},"name":{"full_name":"John F Doe"}},"transaction_purpose":"Other"}}},"VISA_AFT_UNSCHEDULED_SUBSEQUENT_EXTERNAL":{"summary":"VISA AFT subsequent unscheduled payment using external initial transaction data","description":"A sample request using a VISA AFT subsequent unscheduled payment.","value":{"amount":"1.23","card_number":"4005529999000123","currency":"EUR","expiry_date":"12/31","series_type":"unscheduled","cardholder_name":"John Doe","external_init_transaction":{"transaction_id":"306247352296637"},"aft":{"sender":{"name":"John Doe","address":"Street House 123","city":"Nicosia","country":"CYP"},"recipient":{"account_number":"CY74PATC40021100101122","account_number_type":"IBAN","country":"CYP","address":{"line1":"60","street":"Lemesou Avenue","city":"Nicosia","postal_code":"2014"},"name":{"full_name":"John R Doe"}},"transaction_purpose":"Other"}}},"VISA_AFT_RECURRING_INITIAL":{"summary":"VISA AFT initial recurring payment","description":"A sample request using a VISA AFT initial recurring payment.","value":{"amount":"3.01","card_number":"4005529999000123","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","currency":"EUR","cvv":"196","expiry_date":"12/31","eci":"05","series_type":"recurring","aft":{"sender":{"name":"John Doe","address":"Street House 123","city":"Nicosia","country":"CYP"},"recipient":{"account_number":"CY74PATC40021100101122","account_number_type":"IBAN","country":"CYP","address":{"line1":"60","street":"Lemesou Avenue","city":"Nicosia","postal_code":"2014"},"name":{"full_name":"John R Doe"}},"transaction_purpose":"Other"}}},"VISA_AFT_RECURRING_SUBSEQUENT":{"summary":"VISA AFT subsequent recurring payment","description":"A sample request using a VISA AFT subsequent recurring payment.","value":{"amount":"4.01","card_number":"4005529999000123","currency":"EUR","cvv":"196","expiry_date":"12/31","eci":"07","series_type":"recurring","initial_transaction_id":"090411054601003208190123624711320819","aft":{"sender":{"name":"John Doe","address":"Street House 123","city":"Nicosia","country":"CYP"},"recipient":{"account_number":"CY74PATC40021100101122","account_number_type":"IBAN","country":"CYP","address":{"line1":"60","street":"Lemesou Avenue","city":"Nicosia","postal_code":"2014"},"name":{"full_name":"John R Doe"}},"transaction_purpose":"Other"}}},"VISA_AFT_RECURRING_SUBSEQUENT_EXTERNAL":{"summary":"VISA AFT subsequent recurring payment with external initiation transaction","description":"A sample request using a VISA AFT subsequent recurring payment using external initiation transaction data.","value":{"amount":"5.01","card_number":"4005529999000123","currency":"EUR","expiry_date":"12/31","series_type":"recurring","external_init_transaction":{"transaction_id":"306247399473550"},"aft":{"sender":{"name":"John Doe","address":"Street House 123","city":"Nicosia","country":"CYP"},"recipient":{"account_number":"CY74PATC40021100101122","account_number_type":"IBAN","country":"CYP","address":{"line1":"60","street":"Lemesou Avenue","city":"Nicosia","postal_code":"2014"},"name":{"full_name":"John R Doe"}},"transaction_purpose":"Other"}}},"MASTERCARD3dAFT_person":{"summary":"MASTERCARD FT with 3DSecure to person","description":"A sample request using a MASTERCARD Funding Transaction for pre-authorization.","value":{"amount":"15.00","card_number":"5346932100108113","cardholder_name":"John Doe","currency":"EUR","cvv":"001","expiry_date":"12/29","cavv":"kBAYYgZVLBwElztQZ4AN8peB2CW6","emv_3d_secure_ver":"2.2","aft":{"recipient":{"account_number":"+17653032020","account_number_type":"Phone_Number","country":"USA","state":"IN","address":{"line1":"3270 Kirkbride Way","city":"Indianapolis","postal_code":"46222"},"name":{"first_name":"John","last_name":"Doe"}},"transaction_purpose":"High_Risk_Securities"},"transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"MASTERCARD3dAFT_business":{"summary":"MASTERCARD FT with 3DSecure to business","description":"A sample request to business using a MASTERCARD Funding Transaction for pre-authorization.","value":{"amount":"15.00","card_number":"5346932100108113","cardholder_name":"John Doe","currency":"EUR","cvv":"001","expiry_date":"12/29","cavv":"kBAYYgZVLBwElztQZ4AN8peB2CW6","ds_transaction_id":"f4c9f127-69b9-40f3-8d07-475d1dbs4d3f","emv_3d_secure_ver":"2.2","aft":{"recipient":{"account_number":"CY74PATC40021100101122","account_number_type":"IBAN","name":{"first_name":"LINK4TECH","last_name":"LINK4TECH"},"country":"CYP","address":{"line1":"60 Lemesou Ave.","city":"Nicosia","postal_code":"2014"}},"transaction_purpose":"High_Risk_Securities"},"transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"MASTERCARD_AFT_initial_recurring_to_person":{"summary":"MASTERCARD FT. Initial recurring to person","description":"A sample request using a MASTERCARD recurring Funding Transaction to person","value":{"amount":"25.25","card_number":"5346932100108113","currency":"EUR","cvv":"001","expiry_date":"12/29","cavv":"kBAYYgZVLBwElztQZ4AN8peB2CW6","emv_3d_secure_ver":"2.2","series_type":"fix_amount_recurring","aft":{"recipient":{"account_number":"+17653032020","account_number_type":"Phone_Number","country":"USA","state":"IN","address":{"line1":"3270 Kirkbride Way","city":"Indianapolis","postal_code":"46222"},"name":{"first_name":"Jim","last_name":"Hopper"}},"transaction_purpose":"Savings"}}},"MASTERCARD_AFT_subsequent_recurring_to_person":{"summary":"MASTERCARD FT. Subsequent recurring to person","description":"A sample request using a MASTERCARD subsequent recurring Funding Transaction to person","value":{"amount":"25.25","card_number":"5346932100108113","currency":"EUR","expiry_date":"12/29","series_type":"fix_amount_recurring","initial_transaction_id":"090909182801004179258113625209534518","aft":{"recipient":{"account_number":"+17653032020","account_number_type":"Phone_Number","name":{"first_name":"Jim","last_name":"Hopper"},"address":{"line1":"3270 Kirkbride Way","city":"Indianapolis","postal_code":"46222"}},"transaction_purpose":"Savings"}}},"MASTERCARD_AFT_subsequent_recurring_to_person_external":{"summary":"MASTERCARD FT. Subsequent recurring to person wiht external initial transaction","description":"A sample request using a MASTERCARD subsequent recurring Funding Transaction to person with external initial data","value":{"amount":"25.25","card_number":"5346932100108113","currency":"EUR","expiry_date":"12/29","series_type":"fix_amount_recurring","external_init_transaction":{"transaction_id":"MCCC5DZUB","date":"0909","tlid":"XsthOg0LR-qPSdcoHKi7Ig"},"aft":{"recipient":{"account_number":"+17653032020","account_number_type":"Phone_Number","name":{"first_name":"Jim","last_name":"Hopper"},"address":{"line1":"3270 Kirkbride Way","city":"Indianapolis","postal_code":"46222"}},"transaction_purpose":"Savings"}}},"MASTERCARD_AFT_initial_unscheduled_to_business":{"summary":"MASTERCARD FT. Initial unscheduled to business","description":"A sample request using a MASTERCARD initial unscheduled Funding Transaction to business","value":{"amount":"5.25","currency":"EUR","card_number":"5346932100108113","cvv":"001","expiry_date":"12/29","emv_3d_secure_ver":"2.2","cardholder_name":"Igo Ria","cavv":"kBAYYgZVLBwElztQZ4AN8peB2CW6","series_type":"unscheduled","aft":{"recipient":{"account_number":"CY74PATC40021100101122","account_number_type":"IBAN","name":{"first_name":"LINK4TECH","last_name":"LINK4TECH"},"country":"CYP","address":{"line1":"60 Lemesou Ave.","city":"Nicosia","postal_code":"2014"}},"transaction_purpose":"High_Risk_Securities"}}},"MASTERCARD_AFT_subsequent_unscheduled_to_business":{"summary":"MASTERCARD FT. Subsequent unscheduled to business","description":"A sample request using a MASTERCARD subsequent unscheduled Funding Transaction to business","value":{"amount":"1.25","currency":"EUR","card_number":"5346932100108113","expiry_date":"12/29","cardholder_name":"Igo Ria","series_type":"unscheduled","initial_transaction_id":"090909265201008784498113625209197352","aft":{"recipient":{"account_number":"CY74PATC40021100101122","account_number_type":"IBAN","name":{"first_name":"LINK4TECH","last_name":"LINK4TECH"},"country":"CYP","address":{"line1":"60 Lemesou Ave.","city":"Nicosia","postal_code":"2014"}},"transaction_purpose":"High_Risk_Securities"}}},"VISA_wallet":{"summary":"VISA GooglePay, ApplePay","description":"request using digital payment cryptogram","value":{"amount":"8.00","card_number":"4005529999000123","cardholder_name":"John Doe","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","currency":"EUR","cvv":"196","expiry_date":"12/31","eci":"05","wallet":"google_pay","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"VISATOKEN":{"summary":"VISA - TOKEN COF","description":"A sample request using a VISA tokenized card for transaction.","value":{"card_number":"4895370016097492","expiry_date":"12/31","amount":"33.00","currency":"USD","tavv":"AwAAAAAA3i/8YH7QQ22kQHsAAAA=","eci":"07","wallet":"merchant","pan_entry_mode":"card_on_file"}},"VISATOKENSECURE":{"summary":"VISA - TOKEN COF with SCA","description":"A sample request using a VISA tokenized card with SCA for transaction.","value":{"card_number":"4895370016097492","expiry_date":"12/31","amount":"33.00","currency":"USD","tavv":"AwAAAAAA3i/8YH7QQ22kQHsAAAA=","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","eci":"05","wallet":"merchant","pan_entry_mode":"card_on_file"}},"VISATOKENSERIESINIT":{"summary":"VISA - TOKEN COF initial series type","description":"A sample request using a VISA tokenized card for initiate first series transaction","value":{"card_number":"4895370016097492","expiry_date":"12/31","amount":"33.00","currency":"USD","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","series_type":"unscheduled","eci":"05","wallet":"merchant","pan_entry_mode":"card_on_file"}},"VISATOKENSERIESSUBSEQUENT":{"summary":"VISA - TOKEN COF subsequent","description":"A sample request using a VISA tokenized card for subsequent series type transaction","value":{"card_number":"4895370016097492","expiry_date":"12/31","amount":"33.00","currency":"USD","tavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","series_type":"unscheduled","eci":"02","wallet":"merchant","external_init_transaction":{"transaction_id":"0265786446346328"}}},"VISAMOTOECOM":{"summary":"VISA - MOTO","description":"A sample request using a VISA as MOTO","value":{"card_number":"4123569999000282","expiry_date":"12/31","amount":"33.01","currency":"EUR","eci":"01","pan_entry_mode":"manual"}},"MCMOTOECOM":{"summary":"Mastercard - MOTO","description":"A sample request using a Mastercard as MOTO","value":{"card_number":"5346932100108113","expiry_date":"12/26","amount":"23.00","currency":"EUR","pan_entry_mode":"manual","cvv":"123"}},"MCTOKEN":{"summary":"Mastercard - TOKEN COF","description":"A sample request using a Mastercard tokenized card for transaction.","value":{"card_number":"5204736020001303","expiry_date":"12/25","amount":"23.00","currency":"USD","wallet":"merchant","token":{"requestor_id":"50132904993"}}},"MCTOKENSUBSEQUENTRECURRING":{"summary":"Mastercard - TOKEN subsequent recurring payment","description":"A sample request using a Mastercard subsequent recurring payment token transaction","value":{"card_number":"5204736020001303","expiry_date":"12/25","amount":"23.00","currency":"USD","wallet":"merchant","series_type":"fix_amount_recurring","external_init_transaction":{"transaction_id":"MCDTJL5GV","date":"0609"},"token":{"device_type":"04","mastercard_assigned_ID":"034123"}}},"MASTERCARD_wallet":{"summary":"MASTERCARD ApplePay","description":"A sample request using digital payment cryptogram","value":{"amount":"7.44","card_number":"5346932100108113","cardholder_name":"Jane Smith","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","currency":"EUR","cvv":"123","expiry_date":"11/25","eci":"05","wallet":"apple_pay","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"MASTERCARD_GooglePay":{"summary":"MASTERCARD GooglePay","description":"A sample request using digital payment cryptogram","value":{"cvv":"123","tavv":"AwAAAAABVgovzfsAmcOPgoQAAAA=","amount":"1.52","wallet":"google_pay","currency":"EUR","card_number":"5346932100108113","expiry_date":"12/26","cardholder_name":"JOHN DOE","ds_transaction_id":"21503638-4970-48ed-8109-c1b3d4d62e02","emv_3d_secure_ver":"2.2","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"VISAseriestypesubsequentExternal":{"summary":"VISA SUBSEQUENT FOR recurring or unscheduled with external initial transaction data","description":"VISA SUBSEQUENT FOR recurring or unscheduled using external initial transaction data","value":{"amount":"22.00","card_number":"4005529999000123","cardholder_name":"John Doe","currency":"EUR","cvv":"196","expiry_date":"12/31","series_type":"unscheduled","external_init_transaction":{"transaction_id":"384106495009871"},"transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"MASTERCARDseriestypesubsequentExternal":{"summary":"MASTERCARD SUBSEQUENT FOR recurring or unscheduled with external initial transaction data","description":"MASTERCARD SUBSEQUENT FOR recurring or unscheduled using external initial transaction data","value":{"amount":"24.00","card_number":"5185520070000016","cardholder_name":"Jane Smith","currency":"EUR","cvv":"001","expiry_date":"12/25","series_type":"fix_amount_recurring","external_init_transaction":{"transaction_id":"MCCSSTJ9O","date":"0122","tlid":"7WFe1LqMR7WT3FqPlA_6rQ"},"transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"invalid":{"summary":"Invalid data example","description":"An example of invalid data rejected by the API.","value":{"amount":"abc","card_number":"1234","cardholder_name":"Invalid User","cavv":"InvalidCAVV","currency":"XYZ","cvv":"12","expiry_date":"99/99"}}}}}},"responses":{"200":{"description":"Pre-authentication successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreAuthResponse"},"example":{"status":"Transaction success","message":"Pre-authentication successful","transaction_id":"112109074601004227550123432609182310","authorized_amount":"12.00","status_code":200,"processed_at":"2024-11-18T17:47:21","bank_status_code":"00","bank_status":"Approved","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","rrn":"607514207399","authorization_code":"LH4Q5J","system_trace_number":"476107","processing_code_resp":"003000","card_acceptor_id":"123490570889   ","transaction_link_id":"v1i08F_WQWe2FPoLPQyoMg","host_txid":"MCCM5ZWFW","additional_resp_data":"0511","validation_code":""}}}},"400":{"description":"Bad Request – Payment declined or invalid input","content":{"application/json":{"example":{"status":"Transaction declined","message":"Pre-authentication failed","transaction_id":"112109074601004227550123432609182310","authorized_amount":"12.00","status_code":400,"processed_at":"2024-11-18T17:47:21","bank_status_code":"05","bank_status":"Insufficient funds","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","rrn":"607514207399","authorization_code":"LH4Q5J","system_trace_number":"476107","processing_code_resp":"003000","card_acceptor_id":"123490570889   ","transaction_link_id":"v1i08F_WQWe2FPoLPQyoMg","host_txid":"MCCM5ZWFW","additional_resp_data":"0511","validation_code":"","merchant_advice":"03"}}}},"500":{"description":"Internal Server Error – Unexpected error occurred","content":{"application/json":{"example":{"detail":"Internal Server Error","message":"An error occurred during pre-authentication"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/ecomapi/capture/":{"post":{"tags":["E-commerce payment"],"summary":"Capture a payment","description":"This endpoint captures an authorized payment, completing the transaction and transferring funds.","operationId":"run_capture_ecomapi_capture__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/ecomapi/refund/":{"post":{"tags":["E-commerce payment"],"summary":"Refund a payment","description":"This endpoint processes a refund for a completed payment, returning funds to the customer.","operationId":"run_refund_ecomapi_refund__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundRequest"},"examples":{"refund":{"summary":"ECOM VISA refund","description":"A sample request using a VISA card for refund.","value":{"transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","transaction_id":"120415164401005769960123433915967345","amount":"12.00","deviceFingerprint":{"timezone":"330","browserColorDepth":"24","browserLanguage":"en-GB","browserScreenHeight":"1080","browserScreenWidth":"1920","os":"Windows","browserAcceptHeader":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36","browserJavascriptEnabled":"false","browserJavaEnabled":"true","acceptContent":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","browserIP":"192.1.1.1"}}},"unlined_refund":{"summary":"ECOM VISA UNLINKED refund","description":"A sample request using a VISA card for UNLINKED refund.","value":{"amount":"13.30","currency":"EUR","card_number":"4123569999000282","expiry_date":"12/31"}},"external_initiated_refund_visa":{"summary":"ECOM VISA EXTERNAL AUTHORIZED refund","description":"A request using a VISA card for refund transaction which authorized another processor.","value":{"amount":"1.30","currency":"EUR","expiry_date":"12/31","card_number":"4005529999000123","dynamic_descriptor":"SOME DDR","external_init_transaction":{"transaction_id":"306147281812342"}}},"external_initiated_refund_mc":{"summary":"ECOM MASTERCARD EXTERNAL AUTHORIZED refund","description":"A request using a MASTERCARD card for refund transaction which authorized another processor.","value":{"amount":"1.32","card_number":"5204740000000004","currency":"EUR","expiry_date":"11/26","external_init_transaction":{"date":"0527","tlid":"6LepJn9OT-miJfqGNqNl9A","transaction_id":"MCCCV4APY"}}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/ecomapi/void/":{"post":{"tags":["E-commerce payment"],"summary":"Void a payment","description":"This endpoint voids a previously authorized or captured payment, cancelling the transaction before settlement.","operationId":"run_void_ecomapi_void__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoidRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/ecomapi/void-refund/":{"post":{"tags":["E-commerce payment"],"summary":"Void a refund","description":"This endpoint voids a previously authorized refund, cancelling the transaction before settlement.","operationId":"run_void_refund_ecomapi_void_refund__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoidRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/ecomapi/payout/":{"post":{"tags":["E-commerce payment"],"summary":"Payout","description":"This endpoint handles the payout process, validating card information and ensuring available credit.","operationId":"run_payout_ecomapi_payout__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutRequest"},"examples":{"VISA_payout":{"summary":"VISA OCT","description":"A sample request using a VISA card for OCT.","value":{"amount":"12.00","card_number":"4005529999000123","cardholder_name":"Ig Riapayout","currency":"EUR","expiry_date":"12/31","dynamic_descriptor":"VISA OCT Transfer","payer_account_number":"CY74PATC40021100101122","payer_full_name":"Ig Riapayout","payer_address":"Lemesos Ave 60","payer_city":"Nicosia","payer_country":"CYP","payer_postal_code":"2014","payee_full_name":"Igor Riapayout","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"MASTERCARD_payout":{"summary":"MASTERCARD OCT","description":"A sample request using a MASTERCARD card for OCT.","value":{"amount":"12.00","card_number":"5346932100108113","cardholder_name":"Ig Riapayout","currency":"EUR","expiry_date":"12/31","dynamic_descriptor":"MC OCT Transfer","payer_account_number":"BG41PATC40022312219709","payer_first_name":"John","payer_last_name":"Doe","payer_address":"Lyas 46","payer_city":"Nicosia","payer_country":"CYP","payer_postal_code":"1510","payee_first_name":"Igor","payee_last_name":"Riabushkin","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}}}}}},"responses":{"200":{"description":"Payout successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutResponse"},"example":{"status":"Transaction success","message":"Payout successful","transaction_id":"112109074601004227550123432609182310","authorized_amount":"12.01","status_code":200,"processed_at":"2025-04-25T17:47:21","bank_status_code":"00","bank_status":"Approved","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","rrn":"607514207399","authorization_code":"046810","system_trace_number":"207399","processing_code_resp":"003000","card_acceptor_id":"123490570889   ","transaction_link_id":"v1i08F_WQWe2FPoLPQyoMg","host_txid":"MCCM5ZWFW"}}}},"400":{"description":"Bad Request – Payout declined or invalid input","content":{"application/json":{"example":{"status":"Transaction declined","message":"Payout failed","transaction_id":"112109074601004227550123432609182310","authorized_amount":"12.01","status_code":400,"processed_at":"2025-04-25T17:47:21","bank_status_code":"05","bank_status":"Insufficient funds","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","rrn":"607514207399","authorization_code":"046810","system_trace_number":"207399","processing_code_resp":"003000","card_acceptor_id":"123490570889   ","transaction_link_id":"v1i08F_WQWe2FPoLPQyoMg","host_txid":"MCCM5ZWFW"}}}},"500":{"description":"Internal Server Error – Unexpected error occurred","content":{"application/json":{"example":{"detail":"Internal Server Error","message":"An error occurred during pre-authentication"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/ecomapi/transactionstatus/":{"post":{"tags":["E-commerce payment"],"summary":"Check the Transaction status","description":"This endpoint provides the current Transaction status of the Kykeon payment service.","operationId":"run_status_ecomapi_transactionstatus__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionStatusRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/posapi/auth/":{"post":{"tags":["POS payment"],"summary":"Authorization of a POS payment","description":"# Authorization of a POS Payment\n\nThis endpoint is responsible for processing the authorization of POS payments, utilizing card scheme specifications for proper data formatting and validation.\n\n## 📄 Reference Documentation\n\nThe field values used in the authorization request are derived based on the official specifications:\n\n- **VISA** – Full Service POS Online Messages Technical Specifications  \n- **MASTERCARD** – Customer Interface Specification  \n\nThese specifications define how transaction-related data should be structured and interpreted.\n\n---\n\n## 🔍 Understanding the `\"icc\"` Value\n\nThe `\"icc\"` field contains a **Base64-encoded** string representing an **ICC (Integrated Circuit Card) Data Block**.  \nThis block is a structured sequence of transaction-related data elements obtained from the EMV chip during a payment transaction.\n\n### 🛠️ Steps to Generate the `\"icc\"` Value:\n\n1️⃣ **Transaction Data Retrieval**  \n   - The system collects raw transaction data from the payment terminal (e.g., card number, transaction amount, terminal details, cryptographic elements).\n\n2️⃣ **Data Formatting into EMV Tags**  \n   - The collected information is formatted according to **EMV (Europay, Mastercard, and Visa) standards**.  \n   - Each data point is represented as a **Tag-Length-Value (TLV) structure**, where:\n     - **Tag**: Identifies the type of data (e.g., `5F2A` for currency code).\n     - **Length**: Defines the byte size of the value.\n     - **Value**: Contains the actual transaction details.\n\n3️⃣ **Concatenation of EMV Data**  \n   - The formatted **TLV elements** are concatenated into a single **binary data sequence** that represents all required transaction parameters.\n\n4️⃣ **Encoding to Base64**  \n   - The resulting **binary sequence** is then encoded using **Base64**, producing a string-safe representation suitable for transmission in the API request.\n\n---\n\n## 🏷️ Example of `\"icc\"` Value:\n5F2A0209785F340111820279008407A0000000041010950500000080009A032502059C01009F02060000000098009F090200029F10120110A5000F040000000000000000000000FF9F1A0201969F26081516A4C140CFA53C9F2701809F330360D8C89F34034103029F3501249F360200029F3704E82EE8569F40056000F01001\n### 🔓 **Decoded ICC Value:**\nNUYyQTAyMDk3ODVGMzQwMTExODIwMjc5MDA4NDA3QTAwMDAwMDAwNDEwMTA5NTA1MDAwMDAwODAwMDlBMDMyNTAyMDU5QzAxMDA5RjAyMDYwMDAwMDAwMDk4MDA5RjA5MDIwMDAyOUYxMDEyMDExMEE1MDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwODE1MTZBNEMxNDBDRkE1M0M5RjI3MDE4MDlGMzMwMzYwRDhDODlGMzQwMzQxMDMwMjlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNEU4MkVFODU2OUY0MDA1NjAwMEYwMTAwMQ==\n\n## 🔐 DUKPT Encryption Requirements  \n\nCertain fields in the authorization request must be **encrypted** using **DUKPT (Derived Unique Key Per Transaction)** to ensure secure transmission of sensitive data.\n\n### **🔑 Fields That Require DUKPT Encryption**  \n\n- **Card Number (`cardNumber`)**  \n  ```json\n  \"cardNumber\": \"EBE017EBD3BD186E72876963DBDCDA95\"\n- **Track2 (`track2`)**  \n  ```json\n  \"track2\": \"EBE017EBD3BD186EBC5E646953F4C20897AB277D2356E971\"\n  \nIf the transaction includes an Online PIN, the following additional field must be encrypted using DUKPT:\n- **onlinePinBlock (`onlinePinBlock`)**  \n  ```json\n  \"onlinePinBlock\": \"A0D83C77EAC5324C\"\n\n## 🔏 Message Integrity Verification with HMAC  \n\nEach message **must include an HMAC (Hash-based Message Authentication Code) value** to ensure data integrity and authenticity.  \nThe HMAC is calculated over the **full body** of the request using a shared secret key.\n\n### **📌 HMAC Calculation Steps**  \n\n1️⃣ **Serialize the Full Message Body** into a deterministic format (e.g., JSON with sorted keys).  \n2️⃣ **Hash the Serialized Data** using a cryptographic hash function (e.g., SHA-256).  \n3️⃣ **Generate the HMAC** using the shared secret key and the hashed message body.  \n4️⃣ **Include the HMAC in the request mac** as:  \nFor example for MASTERCARD -CVM CHIP message and SECRET_KEY = '1234567890' MAC value = below\n- **mac (`mac`)**  \n   ```json\n   \"mac\": \"'MuQvNe9GSA+3AZkw4f0DrkeohIWT17Y7k1wieociL9o='\"","operationId":"run_pos_auth_posapi_auth__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAuthRequest"},"examples":{"MCCHIPCVM98":{"summary":"MASTERCARD - CVM CHIP","description":"A sample request using a MASTERCARD card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"051","icc":"NUYyQTAyMDk3ODVGMzQwMTExODIwMjc5MDA4NDA3QTAwMDAwMDAwNDEwMTA5NTA1MDAwMDAwODAwMDlBMDMyNTAyMDU5QzAxMDA5RjAyMDYwMDAwMDAwMDk4MDA5RjA5MDIwMDAyOUYxMDEyMDExMEE1MDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwODE1MTZBNEMxNDBDRkE1M0M5RjI3MDE4MDlGMzMwMzYwRDhDODlGMzQwMzQxMDMwMjlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNEU4MkVFODU2OUY0MDA1NjAwMEYwMTAwMQ==","keyId":"0001"},"cardData":{"cardNumber":"EBE017EBD3BD186E72876963DBDCDA95","expDate":"4912","track2":"EBE017EBD3BD186EBC5E646953F4C20897AB277D2356E971","ksn":"1044201196FC40001162","mskdPAN":"541333******0653","cardSeqNum":"0011","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"N0FDMjE5NkZGODEzQ0E1NTM4QTU5NzU3OTY3QUQ2NzdCRjgzNkQzMDMyQ0QwMTUxNzc2RENGN0FCOEFEMzE0Ng==","trxnAmount":"9800","trxnCcyCd":"978"}},"MCCONLINEPINCONTACTLES101":{"summary":"MASTERCARD - ONLINE PIN CONTACTLESS","description":"A sample request using a MASTERCARD card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","icc":"NUYyQTAyMDk3ODVGMzQwMTAxODIwMjE5ODE4NDA3QTAwMDAwMDAwNDEwMTA5NTA1MDAwMDA0ODAwRTlBMDMyNTAzMDU5QzAxMDA5RjAyMDYwMDAwMDAwMTAxMDA5RjA5MDIwMDAyOUYxMDEyMDExMEEwMDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwODg5ODhDMDM4ODEzRDMzMjY5RjI3MDE4MDlGMzMwMzYwRDAwODlGMzQwMzQyMDMwMDlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNEQwQzU4RjExOUY0MDA1NjAwMEYwMTAwMQ==","keyId":"0001"},"cardData":{"cardNumber":"882AC7E7CDD20803F4139FD436D10C1B","expDate":"4912","track2":"882AC7E7CDD20803B4A5B0B2D4B8832D59108B8554171D72","ksn":"1044201196FC40001184","onlinePinBlock":"77183106C6E5BF41","mskdPAN":"541333******0505","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"Q0FCNjhBMjBCRkY1RURCQjE5NUJGOTJDQkEyQjBCNjU4QUY5RTlDODA2NUYzNzFCMUMxQzQ0QzFGQUMyQjc2RA==","trxnAmount":"10100","trxnCcyCd":"978"}},"MCCONLINEPINCHIP102":{"summary":"MASTERCARD - ONLINE PIN CHIP","description":"A sample request using a MASTERCARD card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"051","icc":"NUYyQTAyMDk3ODgyMDI3OTAwODQwN0EwMDAwMDAwMDQxMDEwOTUwNTAwMDAwNDgwMDA5QTAzMjUwMjA1OUMwMTAwOUYwMjA2MDAwMDAwMDA0MDAwOUYwOTAyMDAwMjlGMTAxMjAxMTBBMDAwMEYwNDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBGRjlGMUEwMjAxOTY5RjI2MDhEQzNGODBCOTA4RENGQUFBOUYyNzAxODA5RjMzMDM2MEQ4Qzg5RjM0MDM0MjAzMDA5RjM1MDEyNDlGMzYwMjAwMDI5RjM3MDRDNkE3RjU3NDlGNDAwNTYwMDBGMDEwMDE=","keyId":"0001"},"cardData":{"cardNumber":"AEC7256BD8EEA32898B9402C869496CA","expDate":"4912","track2":"AEC7256BD8EEA32898D2FD1C48EF06C511640C1D395A7E08","ksn":"1044201196FC4000115A","onlinePinBlock":"E6173A7FF09C9235","mskdPAN":"541333******0508","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"Q0FCNjhBMjBCRkY1RURCQjE5NUJGOTJDQkEyQjBCNjU4QUY5RTlDODA2NUYzNzFCMUMxQzQ0QzFGQUMyQjc2RA==","trxnAmount":"4000","trxnCcyCd":"978"}},"MCCON101":{"summary":"MASTERCARD - CONTACTLESS","description":"A sample request using a MASTERCARD card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","icc":"NUYyQTAyMDk3ODVGMzQwMTQ5ODIwMjE5ODA4NDA3QTAwMDAwMDAwNDEwMTA5NTA1MDAwMDAwODAwMTlBMDMyNTAxMjk5QzAxMDA5RjAyMDYwMDAwMDAwMTAxMDA5RjA5MDIwMDAyOUYxMDEyMDExMEEwMDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwODBBODEzNEMyQTRFQkU5RjM5RjI3MDE4MDlGMzMwMzYwRDgwODlGMzQwMzFGMDMwMjlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNDU1MDUwMDlEOUY0MDA1NjAwMEYwMTAwMQ==","keyId":"0001"},"cardData":{"cardNumber":"0B20AB6B7C31A560C0AC6CAFB75606DA","expDate":"4912","track2":"0B20AB6B7C31A5602DBBA341B2FBF6F33FA79BD15517F157","ksn":"1044201196FC400010DB","mskdPAN":"541333******0943","cardSeqNum":"0049","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"QjAyNDE4Q0M3MTM0MkIwQTFDRDk5MDhFRDVFNjcyQzU1NzZDNTk3RkFBNkUyRDcxNUVCREYzNjc2NEQyRjM2RA==","trxnAmount":"10100","trxnCcyCd":"978"}},"MAESTROCON101":{"summary":"MAESTRO - CVM CONTACTLESS","description":"A sample request using a MAESTRO card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","icc":"NUYyQTAyMDk3ODVGMzQwMTAxODIwMjFCODA4NDA3QTAwMDAwMDAwNDMwNjA5NTA1MDAyMDAwODAwMTlBMDMyNTAxMjk5QzAxMDA5RjAyMDYwMDAwMDAwMTAxMDA5RjA5MDIwMDAyOUYxMDEyMDExMEEwMDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwODI5ODc3MEVCRDlGMDUyNUQ5RjI3MDE4MDlGMzMwMzYwRDgwODlGMzQwMzAxMDAwMjlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNDgzRjI5M0MxOUY0MDA1NjAwMEYwMTAwMTlGNkUwNzAwNTYwMDAwMzEzNDAw","keyId":"0001"},"cardData":{"cardNumber":"E011B95B3EC964943B08393C17609ECF","expDate":"3112","track2":"E011B95B3EC96494F8855C396E8EC451433B6F384160487A","ksn":"1044201196FC400010DF","mskdPAN":"679999*********0041","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MAESTRO"},"mac":"RENBQkEwMzBDMzY5NEU1OUJDRUY5NTI3NTRFRDlEMUI2OEMwMDEzODQyOUY0ODMzQzE1QTA4RkY3MzU2ODA4RA==","trxnAmount":"10100","trxnCcyCd":"978"}},"MAESTROONPINCON1000":{"summary":"MAESTRO - ONLINE PIN CONTACTLESS","description":"A sample request using a MAESTRO card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","icc":"NUYyQTAyMDk3ODVGMzQwMTAxODIwMjE5ODA4NDA3QTAwMDAwMDAwNDMwNjA5NTA1MDAwMDA0ODAwMTlBMDMyNTAxMjk5QzAxMDA5RjAyMDYwMDAwMDAxMDAwMDA5RjA5MDIwMDAyOUYxMDEyMDExMEEwMDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwOEM2MDUzNkY5MTc4Nzk3MUU5RjI3MDE4MDlGMzMwMzYwRDgwODlGMzQwMzQyMDMwMDlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNDFDNzU0OUNGOUY0MDA1NjAwMEYwMTAwMTlGNkUwQjA4NDAwMDAwMzAzMDAwMDEwMjA4ODA=","keyId":"0001"},"cardData":{"cardNumber":"DB1734A22553012BE2F2422BE147AE6A","expDate":"4912","track2":"DB1734A22553012B0748A7E24E2C65BACDDE3DE3E7AA6FDB","ksn":"1044201196FC400010DC","onlinePinBlock":"D3955629F948861D","mskdPAN":"679999*********0017","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MAESTRO"},"mac":"RTkzNDcyNzBGRDVBQzg0MDIwMzk2RDVBMTk5MkQxODZBMkVEN0RDMjlFQzJEQ0ZGMzIxOUNCNUUwNjJEQ0JBRA==","trxnAmount":"100000","trxnCcyCd":"978"}},"MCMAGSTR":{"summary":"MASTERCARD - MAGSTRIPE","description":"A sample request using a MASTERCARD card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"901","keyId":"0001"},"cardData":{"cardNumber":"35F8B47192F5170556E1AF506AE56F6A","expDate":"3112","track2":"35F8B47192F5170546041331AFEBB0A2235852439C1B5A8D","ksn":"1044201196FC400010B8","mskdPAN":"541333******0037","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"N0FDMjE5NkZGODEzQ0E1NTM4QTU5NzU3OTY3QUQ2NzdCRjgzNkQzMDMyQ0QwMTUxNzc2RENGN0FCOEFEMzE0Ng==","trxnAmount":"2000","trxnCcyCd":"978"}},"MCMOTO":{"summary":"MASTERCARD - MOTO","description":"A sample request using a MASTERCARD card for MOTO authorization.","value":{"trxnType":"MOTO","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"901","keyId":"0001"},"cardData":{"cardNumber":"35F8B47192F5170556E1AF506AE56F6A","expDate":"3112","track2":"35F8B47192F5170546041331AFEBB0A2235852439C1B5A8D","ksn":"1044201196FC400010B8","mskdPAN":"541333******0037","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT","cvv":"123"},"mac":"N0FDMjE5NkZGODEzQ0E1NTM4QTU5NzU3OTY3QUQ2NzdCRjgzNkQzMDMyQ0QwMTUxNzc2RENGN0FCOEFEMzE0Ng==","trxnAmount":"2000","trxnCcyCd":"978"}},"MCPREAUTH":{"summary":"MASTERCARD - PREAUTH","description":"A sample request using a MASTERCARD card for POS PREAUTH authorization.","value":{"trxnType":"PREAUTH","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"entryMode":"051","icc":"NUYyQTAyMDk3ODVGMzQwMTExODIwMjc5MDA4NDA3QTAwMDAwMDAwNDEwMTA5NTA1MDAwMDAwODAwMDlBMDMyNTAyMDU5QzAxMDA5RjAyMDYwMDAwMDAwMDk4MDA5RjA5MDIwMDAyOUYxMDEyMDExMEE1MDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwODE1MTZBNEMxNDBDRkE1M0M5RjI3MDE4MDlGMzMwMzYwRDhDODlGMzQwMzQxMDMwMjlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNEU4MkVFODU2OUY0MDA1NjAwMEYwMTAwMQ==","keyId":"0001"},"cardData":{"cardNumber":"EBE017EBD3BD186E72876963DBDCDA95","expDate":"4912","track2":"EBE017EBD3BD186EBC5E646953F4C20897AB277D2356E971","ksn":"1044201196FC40001162","mskdPAN":"541333******0653","cardSeqNum":"0011","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":""},"trxnAmount":"500","trxnCcyCd":"978","mac":"WixoHF63K3RXXrPyGBgCN3/ycJAQL2nVCZmsHN9N6As="}},"MCADJUSTMENT":{"summary":"MASTERCARD - ADJUSTMENT","description":"A sample request using a MASTERCARD card for POS ADJUSTMENT.","value":{"trxnType":"ADJUSTMENT","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"keyId":"0001"},"parentAuthCd":"010306","parentRrn":"615413963657","mac":"L9DdpaVWPlmdptznajzOUiXsKarwKejFbtwIm5h1tM==","trxnAmount":"12900","trxnCcyCd":"978"}},"MCCOMPLETION":{"summary":"MASTERCARD - COMPLETION","description":"A sample request using a MASTERCARD card for POS COMPLETION.","value":{"trxnType":"COMPLETION","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"keyId":"0001"},"trxnAmount":"900","trxnCcyCd":"978","parentAuthCd":"001475","parentRrn":"615413397025","mac":"yLU/gIKb71IE3w71eWjAOVyN9jq1nGWsenvVaHU="}},"MCDEFERRED":{"summary":"MASTERCARD - DEFERRED","description":"A sample request using a MASTERCARD card for POS DEFERRED transaction","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"912290570951","tId":"11000998"},"terminalReqData":{"entryMode":"051","icc":"NUYyQTAyMDk3ODVGMzQwMTExODIwMjc5MDA4NDA3QTAwMDAwMDAwNDEwMTA5NTA1MDAwMDAwODAwMDlBMDMyNTAyMDU5QzAxMDA5RjAyMDYwMDAwMDAwMDk4MDA5RjA5MDIwMDAyOUYxMDEyMDExMEE1MDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwODE1MTZBNEMxNDBDRkE1M0M5RjI3MDE4MDlGMzMwMzYwRDhDODlGMzQwMzQxMDMwMjlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNEU4MkVFODU2OUY0MDA1NjAwMEYwMTAwMQ==","keyId":"0001"},"cardData":{"cardNumber":"EBE017EBD3BD186E72876963DBDCDA95","expDate":"4912","track2":"EBE017EBD3BD186EBC5E646953F4C20897AB277D2356E971","ksn":"1044201196FC40001162","mskdPAN":"541333******0653","cardSeqNum":"0011","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"29+DxAaqhXZQvhU+FTFDxisEHUdliteG5G1UTyyg=","trxnAmount":"1700","trxnCcyCd":"978","isDeferred":true}},"VISAONPCON":{"summary":"VISA - ONLINE PIN CONTACTLESS","description":"A sample request using a VISA card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","icc":"NUYyQTAyMDk3ODVGMzQwMTAzODIwMjIwMDA4NDA3QTAwMDAwMDAwMzEwMTA5NTA1MDAwMDAwMDAwMDlBMDMyNTAyMDQ5QzAxMDA5RjAyMDYwMDAwMDAwMDE1MDA5RjA5MDIwMDk2OUYxMDIwMUYyMjAxMDBBMDAwMDAwMDAwNTY0OTUzNDE0QzMzNTQ0NTUzNTQ0MzQxNTM0NTAwMDAwMDAwMDAwMDAwMDAwMDlGMUEwMjAxOTY5RjI2MDgyOEQwMzYwNjhBODZFMDlCOUYyNzAxODA5RjMzMDM2MEQ4Qzg5RjM0MDMzRjAwMDI5RjM1MDEyNDlGMzYwMjAwMDI5RjM3MDRBRkQ1MzI1MjlGNDAwNTYwMDBGMDEwMDE5RjZFMDQyMDcwMDAwMA==","keyId":"0001"},"cardData":{"cardNumber":"01953DF283F036CDCF090186799717ED","expDate":"3112","track2":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570","ksn":"1044201196FC40001129","onlinePinBlock":"CD691D810F86939F","mskdPAN":"417666******0034","cardSeqNum":"0003","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA CREDIT"},"mac":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg==","trxnAmount":"1500","trxnCcyCd":"978"}},"VISAONPCH":{"summary":"VISA - ONLINE PIN CHIP","description":"A sample request using a VISA card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"051","icc":"NUYyQTAyMDk3ODVGMzQwMTAxODIwMjE4MDA4NDA3QTAwMDAwMDAwMzEwMTA5NTA1ODA4MDA0ODAwMDlBMDMyNTAyMDQ5QzAxMDA5RjAyMDYwMDAwMDAwMDEzMDA5RjA5MDIwMDk2OUYxMDE3MDYwMTEyMDNBMDAwMDAwRjAwNTY0OTUzNDE0QzMzNTQ0NTUzNTQ0MzQxNTM0NTlGMUEwMjAxOTY5RjI2MDgxNUE4MEVFMzMzREIzQjNBOUYyNzAxODA5RjMzMDM2MEQ4Qzg5RjM0MDMwMjAzMDA5RjM1MDEyNDlGMzYwMjAwMDI5RjM3MDRGN0VCODc1MzlGNDAwNTYwMDBGMDEwMDE=","keyId":"0001"},"cardData":{"cardNumber":"0DA0D2872A6ADE0F76A1756CB9D5E3E6","expDate":"3112","track2":"0DA0D2872A6ADE0FAB54E8870B887F0B0BF9DE6D3075CF6B","ksn":"1044201196FC4000112B","onlinePinBlock":"5A183A1893115FFA","mskdPAN":"476173******0102","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA DEBIT"},"mac":"NTk1Q0JFQUU1NkZCNDQ2OThGMUE1RDUzMzBGOUQ3RDNDNzgyMDkwQ0VBRTAzMkY2NkZCRkZBODczMTU3MTY0NQ==","trxnAmount":"1300","trxnCcyCd":"978"}},"VISACHNOCVM":{"summary":"VISA - NOCVM CHIP","description":"A sample request using a VISA card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"051","icc":"NUYyQTAyMDk3ODVGMzQwMTAxODIwMjE4MDA4NDA3QTAwMDAwMDAwMzEwMTA5NTA1ODA4MDAwODAwMDlBMDMyNTAyMDQ5QzAxMDA5RjAyMDYwMDAwMDAwMDExMDA5RjA5MDIwMDk2OUYxMDE3MDYwMTEyMDNBMDAwMDAwRjAwNTY0OTUzNDE0QzMzNTQ0NTUzNTQ0MzQxNTM0NTlGMUEwMjAxOTY5RjI2MDg2Q0VGRkJEQ0VEQUYwRkE5OUYyNzAxODA5RjMzMDM2MEQ4Qzg5RjM0MDMxRjAzMDI5RjM1MDEyNDlGMzYwMjAwMDI5RjM3MDRDMERDMjE1MjlGNDAwNTYwMDBGMDEwMDE=","keyId":"0001"},"cardData":{"cardNumber":"E5208DFFE572B4B7575DE5A81F37F6F8","expDate":"3112","track2":"E5208DFFE572B4B7A28B293656DD225684BE4BFEC5A0D670","ksn":"1044201196FC4000112A","mskdPAN":"476173******0029","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA DEBIT"},"mac":"MjkxQUE1REIwODg3RUJBRTUwMjQ0RjMyOUE5Q0Q3OEIxQjQ4M0QyQ0Y3MDc0Q0ExRDBCMTAzNkRDMjk3QTlEMQ==","trxnAmount":"1100","trxnCcyCd":"978"}},"VISAMSRNOCVM":{"summary":"VISA - MAGSTRIPE","description":"A sample request using a VISA card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"901","keyId":"0001"},"cardData":{"cardNumber":"1970B640C9466AA3B76B92C03F0C557A","expDate":"3112","track2":"1970B640C9466AA3C37856DB48EAFE56464DB22574D82FFB","ksn":"1044201196FC4000112C","mskdPAN":"476173******0267","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA DEBIT"},"mac":"NTJBNkE4MjNEREI2MkFFMzU4RDk0QjFBQjM4Qzc4MjlGOEU5MUE4MThFRTI5NEUxNjAwNTBGMDlGQ0ExMkRCNA==","trxnAmount":"1400","trxnCcyCd":"978"}},"VISAONPCONDCC":{"summary":"VISA - DCC ONLINE PIN CONTACTLESS","description":"A sample request using a VISA card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","icc":"NUYyQTAyMDk3ODVGMzQwMTAzODIwMjIwMDA4NDA3QTAwMDAwMDAwMzEwMTA5NTA1MDAwMDAwMDAwMDlBMDMyNTAyMDQ5QzAxMDA5RjAyMDYwMDAwMDAwMDE1MDA5RjA5MDIwMDk2OUYxMDIwMUYyMjAxMDBBMDAwMDAwMDAwNTY0OTUzNDE0QzMzNTQ0NTUzNTQ0MzQxNTM0NTAwMDAwMDAwMDAwMDAwMDAwMDlGMUEwMjAxOTY5RjI2MDgyOEQwMzYwNjhBODZFMDlCOUYyNzAxODA5RjMzMDM2MEQ4Qzg5RjM0MDMzRjAwMDI5RjM1MDEyNDlGMzYwMjAwMDI5RjM3MDRBRkQ1MzI1MjlGNDAwNTYwMDBGMDEwMDE5RjZFMDQyMDcwMDAwMA==","keyId":"0001"},"dcc":{"dccStatus":"ACCEPTED","dccData":{"isoAmount":"1590","isoConversionRate":"71010000","conversionRateDate":"2025-02-05","currency":"USD"}},"cardData":{"cardNumber":"01953DF283F036CDCF090186799717ED","expDate":"3112","track2":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570","ksn":"1044201196FC40001129","onlinePinBlock":"CD691D810F86939F","mskdPAN":"417666******0034","cardSeqNum":"0003","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA CREDIT"},"mac":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg==","trxnAmount":"1500","trxnCcyCd":"978"}},"VISAMOTO":{"summary":"VISA - MOTO","description":"A sample request using a VISA card for POS MOTO authorization.","value":{"trxnType":"MOTO","trxnDateTime":"0914144012","merchantData":{"mId":"912290570951","tId":"11000998"},"terminalReqData":{"entryMode":"071","keyId":"0001"},"cardData":{"cardNumber":"01953DF283F036CDCF090186799717ED","expDate":"3112","track2":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570","ksn":"1044201196FC40001129","onlinePinBlock":"CD691D810F86939F","mskdPAN":"417666******0034","cardSeqNum":"0003","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA CREDIT","cvv":"123"},"mac":"Ko289Q5XYkJkiNgl7ChTRPDfjI2NI+0qINf0D1OTpz8=","trxnAmount":"1500","trxnCcyCd":"978"}},"VISAPREAUTH":{"summary":"VISA - PREAUTH","description":"A sample request using a VISA card for POS PREAUTH authorization.","value":{"trxnType":"PREAUTH","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"entryMode":"071","icc":"NUYyQTAyMDk3ODVGMzQwMTAzODIwMjIwMDA4NDA3QTAwMDAwMDAwMzEwMTA5NTA1MDAwMDAwMDAwMDlBMDMyNTAyMDQ5QzAxMDA5RjAyMDYwMDAwMDAwMDE1MDA5RjA5MDIwMDk2OUYxMDIwMUYyMjAxMDBBMDAwMDAwMDAwNTY0OTUzNDE0QzMzNTQ0NTUzNTQ0MzQxNTM0NTAwMDAwMDAwMDAwMDAwMDAwMDlGMUEwMjAxOTY5RjI2MDgyOEQwMzYwNjhBODZFMDlCOUYyNzAxODA5RjMzMDM2MEQ4Qzg5RjM0MDMzRjAwMDI5RjM1MDEyNDlGMzYwMjAwMDI5RjM3MDRBRkQ1MzI1MjlGNDAwNTYwMDBGMDEwMDE5RjZFMDQyMDcwMDAwMA==","keyId":"0001"},"cardData":{"cardNumber":"01953DF283F036CDCF090186799717ED","expDate":"3112","track2":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570","ksn":"1044201196FC40001129","onlinePinBlock":"CD691D810F86939F","mskdPAN":"417666******0034","cardSeqNum":"0003","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA CREDIT"},"mac":"WixoHF63K3RXXrPyGBgCN3/ycJAQL2nVCZmsHN9N6As=","trxnAmount":"5000","trxnCcyCd":"978"}},"VISAADJUSTMENT":{"summary":"VISA - ADJUSTMENT","description":"A sample request using a VISA card for POS ADJUSTMENT.","value":{"trxnType":"ADJUSTMENT","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"keyId":"0001"},"parentAuthCd":"010306","parentRrn":"615413963657","mac":"L9DdpaVWPlmdptznajzOUiXsKarwKejFbtwIm5h1tM==","trxnAmount":"9000","trxnCcyCd":"978"}},"VISACOMPLETION":{"summary":"VISA - COMPLETION","description":"A sample request using a VISA card for POS COMPLETION.","value":{"trxnType":"COMPLETION","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"keyId":"0001"},"trxnAmount":"8900","trxnCcyCd":"978","parentAuthCd":"001475","parentRrn":"615413397025","mac":"yLU/gIKb71IE3w71eWjAOVyN9jq1nGWsenvVaHU="}},"VISADEFERRED":{"summary":"VISA - DEFERRED","description":"A sample request using a VISA card for DEFERRED POS transaction.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"912290570951","tId":"11000998"},"terminalReqData":{"entryMode":"071","icc":"NUYyQTAyMDk3ODVGMzQwMTAzODIwMjIwMDA4NDA3QTAwMDAwMDAwMzEwMTA5NTA1MDAwMDAwMDAwMDlBMDMyNTAyMDQ5QzAxMDA5RjAyMDYwMDAwMDAwMDE1MDA5RjA5MDIwMDk2OUYxMDIwMUYyMjAxMDBBMDAwMDAwMDAwNTY0OTUzNDE0QzMzNTQ0NTUzNTQ0MzQxNTM0NTAwMDAwMDAwMDAwMDAwMDAwMDlGMUEwMjAxOTY5RjI2MDgyOEQwMzYwNjhBODZFMDlCOUYyNzAxODA5RjMzMDM2MEQ4Qzg5RjM0MDMzRjAwMDI5RjM1MDEyNDlGMzYwMjAwMDI5RjM3MDRBRkQ1MzI1MjlGNDAwNTYwMDBGMDEwMDE5RjZFMDQyMDcwMDAwMA==","keyId":"0001"},"cardData":{"cardNumber":"01953DF283F036CDCF090186799717ED","expDate":"3112","track2":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570","ksn":"1044201196FC40001129","onlinePinBlock":"CD691D810F86939F","mskdPAN":"417666******0034","cardSeqNum":"0003","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA CREDIT"},"isDeferred":true,"mac":"DmCqhViIS0eHALsYqMBuTZzVhLocW2hVm6swSqzA=","trxnAmount":"1700","trxnCcyCd":"978"}},"DANKORTCHIP":{"summary":"DANKORT - CHIP","description":"A sample request using a DANKORT card for POS authorization.","value":{"mac":"MjkxQUE1REIwODg3RUJBRTUwMjQ0RjMyOUE5Q0Q3OEIxQjQ4M0=","cardData":{"ksn":"0000000000000000078A","track2":"CB5FA18E4010AD34C4D252D6313AB74CE2F7F148A2C2A03D","expDate":"2901","mskdPAN":"457199******5238","cardBrnd":"DANKORT","cardCcyCd":"208","cardCtryCd":"208","cardNumber":"CB5FA18E4010AD340D06C6498CD8356E","cardSeqNum":"0000"},"trxnType":"PURCHASE","trxnCcyCd":"208","trxnAmount":"3000","merchantData":{"mId":"000000090000365","tId":"11000983"},"trxnDateTime":"0914144012","terminalReqData":{"icc":"nxoCAgiaAyYCJp8CBgAAAAAwAJ8DBgAAAAAAAJ8JAgMAhAegAAABIUcSnzcERoXrJ58zA+D4yF8qAgIInzUBIoICOQBfNAEAnAEAlQUAAACAAJ80A0QDAp8mCKbD2NPpEOC+nycBgJ82AgALnxAXFgQEB6BgMEAAKQAAAAAAAAAAAAIAAAA=","keyId":"0001","entryMode":"951"},"cashbackTrxnCcyCd":"208","surchargeTrxnAmount":"0"}},"DANKORTPIN":{"summary":"DANKORT - ONLINE PIN CONTACTLES","description":"A sample request using a DANKORT card for POS authorization.","value":{"mac":"MjkxQUE1REIwODg3RUJBRTUwMjQ0RjMyOUE5Q0Q3OEIxQjQ4M0=","cardData":{"ksn":"00000000000000000772","track2":"1C976AB587343B7569E29FFFB95F0BCBA7A8130656DA44BA","expDate":"2812","mskdPAN":"501980******9659","cardBrnd":"DANKORT","cardCcyCd":"208","cardCtryCd":"208","cardNumber":"1C976AB587343B752AAC56BEA2E19B24","cardSeqNum":"0000","onlinePinBlock":"E3FE2B12629E4689"},"trxnType":"PURCHASE","trxnCcyCd":"208","trxnAmount":"2000","merchantData":{"mId":"000000090000365","tId":"11000983"},"trxnDateTime":"0914144012","terminalReqData":{"icc":"nxoCAgiaAyYCJZ8CBgAAAAAgAJ8DBgAAAAAAAJ8mCEQdznYkWa/UggIZgF80AQCfNgIAEZ8JAgACnycBgJ80Ax8DAoQHoAAAASFHE58QHAERoEIDogQAAAAAAAAAAAAA/wAAAAAAAAD/AAGfMwPgCAifNQEilQUAAACAAV8qAgIInAEAnzcE1dV/kJ9uBwIIAAAwMAA=","keyId":"0001","entryMode":"971"},"cashbackTrxnCcyCd":"208","surchargeTrxnAmount":"0"}},"DANKORTCONTACTLES":{"summary":"DANKORT - CONTACTLES","description":"A sample request using a DANKORT card for POS authorization.","value":{"mac":"MjkxQUE1REIwODg3RUJBRTUwMjQ0RjMyOUE5Q0Q3OEIxQjQ4M0=","cardData":{"ksn":"00000000000000000773","track2":"EB283BB30C2D5E7726377A949278C5DCD2D0AB83DBD248CF","expDate":"2807","mskdPAN":"457199******5230","cardBrnd":"DANKORT","cardCcyCd":"208","cardCtryCd":"208","cardNumber":"EB283BB30C2D5E77313F000CE9D5136C","cardSeqNum":"0000"},"trxnType":"PURCHASE","trxnCcyCd":"208","trxnAmount":"2000","merchantData":{"mId":"000000090000365","tId":"11000983"},"trxnDateTime":"0914144012","terminalReqData":{"icc":"nxoCCCaaAyYCJZ8CBgAAAAAgAJ8DBgAAAAAAAJ9uBCBwAACfZgQ2oEAAhAegAAABIUcRnycBgJUFAAAAAACfJgg7+0wxx/oJbpwBAJ80Az8AAJ8zA+C4yJ81ASKfCQIAjF8qAggmggIAIJ82AgARnxAXBgMSA6AAAA8DAAAIAAAAAAAAAOLoflpfNAEAnzcEMJYQjw==","keyId":"0001","entryMode":"971"},"cashbackTrxnCcyCd":"208","surchargeTrxnAmount":"0"}},"AMEXCONTACTLES":{"summary":"AMEX - CONTACTLES","description":"A sample request using a AMEX card for POS authorization.","value":{"trxnType":"PURCHASE","trxnDateTime":"0914144012","merchantData":{"mId":"000000090000365","tId":"11000983"},"terminalReqData":{"entryMode":"051","icc":"nxoCAgiaAyYDAp8CBgAAAAAwAJ8DBgAAAAAAAJ8JAgABhAigAAAAJQEEA583BOWbG8CfMwPg+MhfKgICCJ81ASKCAjwAXzQBAJwBAJUFAAAAgACfNANEAwKfJgi/baPLB4Orep8nAYCfNgIAAp8QBwYCAQOgAAA=","keyId":"0001"},"cardData":{"cardNumber":"E8DBD9BC801E5A79EC80D93ABEB55B83","expDate":"3012","track2":"58A170D748F8D7159E39332704317BEF4CD58CF90B1A1A66","ksn":"000000000000000007AC","mskdPAN":"***********1007","cardSeqNum":"0000","cardCtryCd":"208","cardCcyCd":"208","cardBrnd":""},"mac":"MjkxQUE1REIwODg3RUJBRTUwMjQ0RjMyOUE5Q0Q3OEIxQjQ4M0=","trxnAmount":"3000","trxnCcyCd":"208","cashbackTrxnCcyCd":"208","surchargeTrxnAmount":"0"}},"AMEXCHIP":{"summary":"AMEX - CHIP","description":"A sample request using a AMEX card for POS authorization.","value":{"mac":"MjkxQUE1REIwODg3RUJBRTUwMjQ0RjMyOUE5Q0Q3OEIxQjQ4M0=","cardData":{"ksn":"000000000000000007E9","track2":"FFB49DB96507AC9084203A1B0DC0BADFA64C0C286B671427","expDate":"3012","mskdPAN":"***********1009","cardBrnd":"","cardCcyCd":"208","cardCtryCd":"208","cardNumber":"2DC3BCB1F8D805E0A90DF2CED04DF573","cardSeqNum":"0002"},"trxnType":"PURCHASE","trxnCcyCd":"208","trxnAmount":"3300","merchantData":{"mId":"000000090000365","tId":"11000983"},"trxnDateTime":"0914144012","terminalReqData":{"icc":"nxoCAgiaAyYDAp8CBgAAAAAzAJ8DBgAAAAAAAJ8JAgABhAigAAAAJQEEA583BOK84hWfMwPg+MhfKgICCJ81ASKCAjwAXzQBApwBAJUFAAAAgACfNANBAwKfJghTtBeIoewdop8nAYCfNgIAAp8QBwYCAQOgAAA=","keyId":"0001","entryMode":"051"},"cashbackTrxnCcyCd":"208","surchargeTrxnAmount":"0"}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAuthResponse"}}},"merchantData":{"mId":"62941828","tId":"11000998"},"mskdPAN":"222360******0011","trxnAmount":"1000","trxnCcyCd":"978","respCd":"00","respMsg":"Approve","icc":"MDEwMDBGOUYzNjAyMDAwMjkxMDhBMUE1N0JERTAwODYwMDAw","trxnId":"120415164401005769960123433915967345","authCd":"013489","stan":"300531","rrn":"503111509114","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA==","addData":"R220504011"},"400":{"description":"Bad Request – Payment declined or invalid input","content":{"application/json":{"example":{"merchantData":{"mId":"62941828","tId":"11000998"},"mskdPAN":"222360******0011","trxnAmount":"1000","trxnCcyCd":"978","respCd":"06","respMsg":"Error","trxnId":"","authCd":"","stan":"","rrn":"","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/posapi/reversal/":{"post":{"tags":["POS payment"],"summary":"Reversal of a POS payment","description":"# Reversal of a POS Payment\n\nThis endpoint handles the reversal process of a payment \n\n## 📄 Reference Documentation\n\n💡 **trxnDateTime** field:\nThis field must contain local terminal time of the current reversal transaction. \nFormat is \"mmddHHMMSS\". Example: \"0611153720\" meaning the 11 of June 03 PM 37 minutes and 20 seconds for local timezone of the terminal. \n\n---","operationId":"run_pos_reversal_posapi_reversal__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAuthReversalRequest"},"examples":{"VISAAUTHREVERSAL":{"summary":"VISA - REVERSAL","description":"A sample request using a VISA card for POS reversal.","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","keyId":"0001"},"cardData":{"cardNumber":"01953DF283F036CDCF090186799717ED","expDate":"3112","track2":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570","ksn":"1044201196FC40001129","mskdPAN":"417666******0034","cardSeqNum":"0003","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA CREDIT"},"mac":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg==","trxnId":"020716584401009771580034503817102156","trxnAmount":"1500","trxnCcyCd":"978"}},"VISATECHREVERSAL":{"summary":"VISA - technical REVERSAL","description":"The Reversal of the latest transaction by transaction reference","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"entryMode":"051","keyId":"0001"},"mac":"VycdVo+hKAh3beTuP7LRd3NIBrUXFjNGwpyPWo=","trxnCcyCd":"978","transaction_reference":"8b7e4b5d-4d17-42d4-9b9e-2f9c4c0d8f7a"}},"VISARRNREVERSAL":{"summary":"VISA - REVERSAL by parentRrn and parentAuthCd","description":"The Reversal by parentRrn and parentAuthCd","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"entryMode":"051","keyId":"0001"},"mac":"VycdVo+hKAh3beTuP7LRd3NIBrUXFjNGwpyPWo=","parentAuthCd":"010306","parentRrn":"615413963657","trxnCcyCd":"978","trxnAmount":"1500"}},"MCAUTHREVERSAL":{"summary":"MASTERCARD - REVERSAL","description":"A sample request using a VISA card for POS reversal.","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"010","keyId":"0001"},"cardData":{"cardNumber":"CCE4448091ED369005FABA373F3DAA57","expDate":"4912","track2":"CCE4448091ED3690E0991922982224B14E3BEC5B1CED57F4","ksn":"1044201196FC4000101B","mskdPAN":"541333******0067","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"RkRCQjQ1Rjk0MUQ1RDM1OTc2NjBFQjU3OUQxQjFBNEJGMDVCN0UxM0IzMEZFRDFFNjMwOUIwMjhENDM5Qjg0Ng==","trxnId":"021014034501001732340067504114236631","trxnAmount":"10100","trxnCcyCd":"978"}},"MCTECHREVERSAL":{"summary":"MASTERCARD - technical REVERSAL","description":"The Reversal of the latest transaction by transaction_reference","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"entryMode":"051","keyId":"0001"},"mac":"VycdVo+hKAh3beTuP7LRd3NIBrUXFjNGwpyPWo=","trxnCcyCd":"978","transaction_reference":"8b7e4b5d-4d17-42d4-9b9e-2f9c4c0d8f7a"}},"MCRRNREVERSAL":{"summary":"MASTERCARD - REVERSAL by parentRrn and parentAuthCd","description":"The Reversal by parentRrn and parentAuthCd","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"entryMode":"051","keyId":"0001"},"mac":"BVliebfh3beTuEiobWflGIao=","parentAuthCd":"LH4Q5J","parentRrn":"615321963657","trxnCcyCd":"978","trxnAmount":"12500"}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAuthReversalResponse"}}},"merchantData":{"mId":"62941828","tId":"11000998"},"mskdPAN":"222360******0011","trxnAmount":"1000","trxnCcyCd":"978","respCd":"00","respMsg":"Approve","trxnId":"120415164401005769960123433915967345","authCd":"013489","stan":"300531","rrn":"503111509114","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="},"400":{"description":"Bad Request – Payment declined or invalid input","content":{"application/json":{"example":{"merchantData":{"mId":"62941828","tId":"11000998"},"mskdPAN":"222360******0011","trxnAmount":"1000","trxnCcyCd":"978","respCd":"06","respMsg":"Error","trxnId":"","authCd":"","stan":"","rrn":"","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/posapi/reversal-refund/":{"post":{"tags":["POS payment"],"summary":"Reversal of a POS refund","description":"# Reversal of a POS Payment\n\nThis endpoint handles the reversal process of a payment \n\n## 📄 Reference Documentation\n\n💡 **trxnDateTime** field:\nThis field must contain local terminal time of the current reversal transaction. \nFormat is \"mmddHHMMSS\". Example: \"0611153720\" meaning the 11 of June 03 PM 37 minutes and 20 seconds for local timezone of the terminal. \n\n---","operationId":"run_pos_reversal_refund_posapi_reversal_refund__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAuthReversalRequest"},"examples":{"VISAAUTHREVERSAL":{"summary":"VISA - REVERSAL","description":"A sample request using a VISA card for POS reversal.","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","keyId":"0001"},"cardData":{"cardNumber":"01953DF283F036CDCF090186799717ED","expDate":"3112","track2":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570","ksn":"1044201196FC40001129","mskdPAN":"417666******0034","cardSeqNum":"0003","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA CREDIT"},"mac":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg==","trxnId":"020716584401009771580034503817102156","trxnAmount":"1500","trxnCcyCd":"978"}},"VISATECHREVERSAL":{"summary":"VISA - technical REVERSAL","description":"The Reversal of the latest transaction by transaction reference","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"entryMode":"051","keyId":"0001"},"mac":"VycdVo+hKAh3beTuP7LRd3NIBrUXFjNGwpyPWo=","trxnCcyCd":"978","transaction_reference":"8b7e4b5d-4d17-42d4-9b9e-2f9c4c0d8f7a"}},"VISARRNREVERSAL":{"summary":"VISA - REVERSAL by parentRrn and parentAuthCd","description":"The Reversal by parentRrn and parentAuthCd","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"entryMode":"051","keyId":"0001"},"mac":"VycdVo+hKAh3beTuP7LRd3NIBrUXFjNGwpyPWo=","parentAuthCd":"010306","parentRrn":"615413963657","trxnCcyCd":"978","trxnAmount":"1500"}},"MCAUTHREVERSAL":{"summary":"MASTERCARD - REVERSAL","description":"A sample request using a VISA card for POS reversal.","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"010","keyId":"0001"},"cardData":{"cardNumber":"CCE4448091ED369005FABA373F3DAA57","expDate":"4912","track2":"CCE4448091ED3690E0991922982224B14E3BEC5B1CED57F4","ksn":"1044201196FC4000101B","mskdPAN":"541333******0067","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"RkRCQjQ1Rjk0MUQ1RDM1OTc2NjBFQjU3OUQxQjFBNEJGMDVCN0UxM0IzMEZFRDFFNjMwOUIwMjhENDM5Qjg0Ng==","trxnId":"021014034501001732340067504114236631","trxnAmount":"10100","trxnCcyCd":"978"}},"MCTECHREVERSAL":{"summary":"MASTERCARD - technical REVERSAL","description":"The Reversal of the latest transaction by transaction_reference","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"entryMode":"051","keyId":"0001"},"mac":"VycdVo+hKAh3beTuP7LRd3NIBrUXFjNGwpyPWo=","trxnCcyCd":"978","transaction_reference":"8b7e4b5d-4d17-42d4-9b9e-2f9c4c0d8f7a"}},"MCRRNREVERSAL":{"summary":"MASTERCARD - REVERSAL by parentRrn and parentAuthCd","description":"The Reversal by parentRrn and parentAuthCd","value":{"trxnType":"REVERSAL","trxnDateTime":"0914144012","merchantData":{"mId":"912290573400","tId":"11000906"},"terminalReqData":{"entryMode":"051","keyId":"0001"},"mac":"BVliebfh3beTuEiobWflGIao=","parentAuthCd":"LH4Q5J","parentRrn":"615321963657","trxnCcyCd":"978","trxnAmount":"12500"}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAuthReversalResponse"}}},"merchantData":{"mId":"62941828","tId":"11000998"},"mskdPAN":"222360******0011","trxnAmount":"1000","trxnCcyCd":"978","respCd":"00","respMsg":"Approve","trxnId":"120415164401005769960123433915967345","authCd":"013489","stan":"300531","rrn":"503111509114","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="},"400":{"description":"Bad Request – Payment declined or invalid input","content":{"application/json":{"example":{"merchantData":{"mId":"62941828","tId":"11000998"},"mskdPAN":"222360******0011","trxnAmount":"1000","trxnCcyCd":"978","respCd":"06","respMsg":"Error","trxnId":"","authCd":"","stan":"","rrn":"","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/posapi/partial_reversal/":{"post":{"tags":["POS payment"],"summary":"Partial reversal of a POS payment","description":"# Partial reversal of a POS Payment\n\nThis endpoint handles the partial reversal process of a payment \n\n## 📄 Reference Documentation\n\n💡 **trxnDateTime** field:\nThis field must contain local terminal time of the current reversal transaction. \nFormat is \"mmddHHMMSS\". Example: \"0611153720\" meaning the 11 of June 03 PM 37 minutes and 20 seconds for local timezone of the terminal.\n\n💡 **trxnAmount** field:\nThis field must contain amount in minor units of the current reversal transaction.\n\n💡 **trxnId** field:\nThis field must contain unique identifier from the original AUTH transaction that should be reversed. \n---","operationId":"run_pos_partial_reversal_posapi_partial_reversal__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAuthPartialReversalRequest"},"examples":{"PARTIAL_REVERSAL":{"summary":"PARTIAL REVERSAL","description":"A sample request using the trxnId of AUTH and an amount for POS reversal.","value":{"trxnType":"REVERSAL","trxnDateTime":"0131113609","merchantData":{"mId":"62552880","tId":"11000998"},"mac":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg==","trxnId":"020716584401009771580034503817102156","trxnAmount":"1500","trxnCcyCd":"978"}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAuthPartialReversalResponse"}}},"merchantData":{"mId":"62941828","tId":"11000998"},"trxnAmount":"1000","trxnCcyCd":"978","respCd":"00","respMsg":"Approve","trxnId":"120415164401005769960123433915967345","authCd":"013489","stan":"300531","rrn":"503111509114","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="},"400":{"description":"Bad Request – Payment declined or invalid input","content":{"application/json":{"example":{"merchantData":{"mId":"62941828","tId":"11000998"},"trxnAmount":"1000","trxnCcyCd":"978","respCd":"06","respMsg":"Error","trxnId":"","authCd":"","stan":"","rrn":"","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/posapi/refund/":{"post":{"tags":["POS payment"],"summary":"Refund of a POS payment","description":"This endpoint handles the refund process of a payment","operationId":"run_pos_refund_posapi_refund__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAuthRefundRequest"},"examples":{"VISAAUTHREFUND":{"summary":"VISA - REFUND","description":"A sample request using a VISA card for POS refund","value":{"trxnType":"REFUND","trxnDateTime":"0131113609","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","keyId":"0001"},"cardData":{"cardNumber":"01953DF283F036CDCF090186799717ED","expDate":"3112","track2":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570","ksn":"1044201196FC40001129","mskdPAN":"417666******0034","cardSeqNum":"0003","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA CREDIT"},"mac":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg==","trxnId":"020716584401009771580034503817102156","trxnAmount":"1500","trxnCcyCd":"978"}},"VISAAUTHREFUNDBYRRN":{"summary":"VISA - REFUND by parentRrn and parentAuthCd","description":"A sample request using a VISA card for POS refund using rrn and authCd","value":{"trxnType":"REFUND","trxnDateTime":"0616113609","merchantData":{"mId":"912290573400","tId":"11000906"},"mac":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg==","parentRrn":"010306","parentAuthCd":"615413963657","trxnAmount":"1500","trxnCcyCd":"978"}},"MCAUTHREFUND":{"summary":"MASTERCARD - REFUND","description":"A sample request using a MASTERCARD card for POS refund","value":{"trxnType":"REFUND","trxnDateTime":"0210140345","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"010","keyId":"0001"},"cardData":{"cardNumber":"CCE4448091ED369005FABA373F3DAA57","expDate":"4912","track2":"CCE4448091ED3690E0991922982224B14E3BEC5B1CED57F4","ksn":"1044201196FC4000101B","mskdPAN":"541333******0067","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"RkRCQjQ1Rjk0MUQ1RDM1OTc2NjBFQjU3OUQxQjFBNEJGMDVCN0UxM0IzMEZFRDFFNjMwOUIwMjhENDM5Qjg0Ng==","trxnId":"021014034501001732340067504114236631","trxnAmount":"10100","trxnCcyCd":"978"}},"MCAUTHREFUNDBYRRN":{"summary":"MASTERCARD - REFUND by rrn and authCd","description":"A sample request using a MASTERCARD card for POS refund using rrn and authCd","value":{"trxnType":"REFUND","trxnDateTime":"0616140345","merchantData":{"mId":"62552880","tId":"11000998"},"mac":"RkRCQjQ1Rjk0MUQ1RDM1OTc2NjBFQjU3OUQxQjFBNEJGMDVCN0UxM0IzMEZFRDFFNjMwOUIwMjhENDM5Qjg0Ng==","parentAuthCd":"LH4Q5J","parentRrn":"615321963657","trxnAmount":"10100","trxnCcyCd":"978"}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAuthReversalResponse"}}},"merchantData":{"mId":"62941828","tId":"11000998"},"mskdPAN":"222360******0011","trxnAmount":"1000","trxnCcyCd":"978","respCd":"00","respMsg":"Approve","trxnId":"120415164401005769960123433915967345","authCd":"013489","stan":"300531","rrn":"503111509114","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="},"400":{"description":"Bad Request – Payment declined or invalid input","content":{"application/json":{"example":{"merchantData":{"mId":"62941828","tId":"11000998"},"mskdPAN":"222360******0011","trxnAmount":"1000","trxnCcyCd":"978","respCd":"06","respMsg":"Error","trxnId":"","authCd":"","stan":"","rrn":"","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/posapi/payout/":{"post":{"tags":["POS payment"],"summary":"Payout of a POS payment","description":"# Payout of a POS Payment\nThis endpoint is responsible for processing the OCT of POS, utilizing card scheme specifications for proper data formatting and validation.","operationId":"run_pos_oct_posapi_payout__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosOCTRequest"},"examples":{"MCCHIPCVM98":{"summary":"MASTERCARD - CVM CHIP","description":"A sample request using a MASTERCARD card for POS PAYOUT.","value":{"trxnType":"PAYMENT","trxnDateTime":"0205115522","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"051","icc":"NUYyQTAyMDk3ODVGMzQwMTExODIwMjc5MDA4NDA3QTAwMDAwMDAwNDEwMTA5NTA1MDAwMDAwODAwMDlBMDMyNTAyMDU5QzAxMDA5RjAyMDYwMDAwMDAwMDk4MDA5RjA5MDIwMDAyOUYxMDEyMDExMEE1MDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwODE1MTZBNEMxNDBDRkE1M0M5RjI3MDE4MDlGMzMwMzYwRDhDODlGMzQwMzQxMDMwMjlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNEU4MkVFODU2OUY0MDA1NjAwMEYwMTAwMQ==","keyId":"0001"},"cardData":{"cardNumber":"EBE017EBD3BD186E72876963DBDCDA95","expDate":"4912","track2":"EBE017EBD3BD186EBC5E646953F4C20897AB277D2356E971","ksn":"1044201196FC40001162","mskdPAN":"541333******0653","cardSeqNum":"0011","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"N0FDMjE5NkZGODEzQ0E1NTM4QTU5NzU3OTY3QUQ2NzdCRjgzNkQzMDMyQ0QwMTUxNzc2RENGN0FCOEFEMzE0Ng==","trxnAmount":"9800","trxnCcyCd":"978"}},"MCCON101":{"summary":"MASTERCARD - CONTACTLESS","description":"A sample request using a MASTERCARD card for POS PAYOUT.","value":{"trxnType":"PAYMENT","trxnDateTime":"0129144049","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","icc":"NUYyQTAyMDk3ODVGMzQwMTQ5ODIwMjE5ODA4NDA3QTAwMDAwMDAwNDEwMTA5NTA1MDAwMDAwODAwMTlBMDMyNTAxMjk5QzAxMDA5RjAyMDYwMDAwMDAwMTAxMDA5RjA5MDIwMDAyOUYxMDEyMDExMEEwMDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwODBBODEzNEMyQTRFQkU5RjM5RjI3MDE4MDlGMzMwMzYwRDgwODlGMzQwMzFGMDMwMjlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNDU1MDUwMDlEOUY0MDA1NjAwMEYwMTAwMQ==","keyId":"0001"},"cardData":{"cardNumber":"0B20AB6B7C31A560C0AC6CAFB75606DA","expDate":"4912","track2":"0B20AB6B7C31A5602DBBA341B2FBF6F33FA79BD15517F157","ksn":"1044201196FC400010DB","mskdPAN":"541333******0943","cardSeqNum":"0049","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"QjAyNDE4Q0M3MTM0MkIwQTFDRDk5MDhFRDVFNjcyQzU1NzZDNTk3RkFBNkUyRDcxNUVCREYzNjc2NEQyRjM2RA==","trxnAmount":"10100","trxnCcyCd":"978"}},"MAESTROCON101":{"summary":"MAESTRO - CVM CONTACTLESS","description":"A sample request using a MAESTRO card for POS PAYOUT.","value":{"trxnType":"PAYMENT","trxnDateTime":"0129144607","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"071","icc":"NUYyQTAyMDk3ODVGMzQwMTAxODIwMjFCODA4NDA3QTAwMDAwMDAwNDMwNjA5NTA1MDAyMDAwODAwMTlBMDMyNTAxMjk5QzAxMDA5RjAyMDYwMDAwMDAwMTAxMDA5RjA5MDIwMDAyOUYxMDEyMDExMEEwMDAwRjA0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMEZGOUYxQTAyMDE5NjlGMjYwODI5ODc3MEVCRDlGMDUyNUQ5RjI3MDE4MDlGMzMwMzYwRDgwODlGMzQwMzAxMDAwMjlGMzUwMTI0OUYzNjAyMDAwMjlGMzcwNDgzRjI5M0MxOUY0MDA1NjAwMEYwMTAwMTlGNkUwNzAwNTYwMDAwMzEzNDAw","keyId":"0001"},"cardData":{"cardNumber":"E011B95B3EC964943B08393C17609ECF","expDate":"3112","track2":"E011B95B3EC96494F8855C396E8EC451433B6F384160487A","ksn":"1044201196FC400010DF","mskdPAN":"679999*********0041","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MAESTRO"},"mac":"RENBQkEwMzBDMzY5NEU1OUJDRUY5NTI3NTRFRDlEMUI2OEMwMDEzODQyOUY0ODMzQzE1QTA4RkY3MzU2ODA4RA==","trxnAmount":"10100","trxnCcyCd":"978"}},"MCMAGSTR":{"summary":"MASTERCARD - MAGSTRIPE","description":"A sample request using a MASTERCARD card for POS PAYOUT.","value":{"trxnType":"PAYMENT","trxnDateTime":"0129134159","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"901","keyId":"0001"},"cardData":{"cardNumber":"35F8B47192F5170556E1AF506AE56F6A","expDate":"3112","track2":"35F8B47192F5170546041331AFEBB0A2235852439C1B5A8D","ksn":"1044201196FC400010B8","mskdPAN":"541333******0037","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"MASTERCARD CREDIT"},"mac":"N0FDMjE5NkZGODEzQ0E1NTM4QTU5NzU3OTY3QUQ2NzdCRjgzNkQzMDMyQ0QwMTUxNzc2RENGN0FCOEFEMzE0Ng==","trxnAmount":"2000","trxnCcyCd":"978"}},"VISACHNOCVM":{"summary":"VISA - NOCVM CHIP","description":"A sample request using a VISA card for POS PAYOUT.","value":{"trxnType":"PAYMENT","trxnDateTime":"0204150233","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"051","icc":"NUYyQTAyMDk3ODVGMzQwMTAxODIwMjE4MDA4NDA3QTAwMDAwMDAwMzEwMTA5NTA1ODA4MDAwODAwMDlBMDMyNTAyMDQ5QzAxMDA5RjAyMDYwMDAwMDAwMDExMDA5RjA5MDIwMDk2OUYxMDE3MDYwMTEyMDNBMDAwMDAwRjAwNTY0OTUzNDE0QzMzNTQ0NTUzNTQ0MzQxNTM0NTlGMUEwMjAxOTY5RjI2MDg2Q0VGRkJEQ0VEQUYwRkE5OUYyNzAxODA5RjMzMDM2MEQ4Qzg5RjM0MDMxRjAzMDI5RjM1MDEyNDlGMzYwMjAwMDI5RjM3MDRDMERDMjE1MjlGNDAwNTYwMDBGMDEwMDE=","keyId":"0001"},"cardData":{"cardNumber":"E5208DFFE572B4B7575DE5A81F37F6F8","expDate":"3112","track2":"E5208DFFE572B4B7A28B293656DD225684BE4BFEC5A0D670","ksn":"1044201196FC4000112A","mskdPAN":"476173******0029","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA DEBIT"},"mac":"MjkxQUE1REIwODg3RUJBRTUwMjQ0RjMyOUE5Q0Q3OEIxQjQ4M0QyQ0Y3MDc0Q0ExRDBCMTAzNkRDMjk3QTlEMQ==","trxnAmount":"1100","trxnCcyCd":"978"}},"VISAMSRNOCVM":{"summary":"VISA - MAGSTRIPE","description":"A sample request using a VISA card for POS PAYOUT.","value":{"trxnType":"PAYMENT","trxnDateTime":"0204150858","merchantData":{"mId":"62552880","tId":"11000998"},"terminalReqData":{"entryMode":"901","keyId":"0001"},"cardData":{"cardNumber":"1970B640C9466AA3B76B92C03F0C557A","expDate":"3112","track2":"1970B640C9466AA3C37856DB48EAFE56464DB22574D82FFB","ksn":"1044201196FC4000112C","mskdPAN":"476173******0267","cardSeqNum":"0001","cardCtryCd":"196","cardCcyCd":"978","cardBrnd":"VISA DEBIT"},"mac":"NTJBNkE4MjNEREI2MkFFMzU4RDk0QjFBQjM4Qzc4MjlGOEU5MUE4MThFRTI5NEUxNjAwNTBGMDlGQ0ExMkRCNA==","trxnAmount":"1400","trxnCcyCd":"978"}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosOCTResponse"}}},"merchantData":{"mId":"62941828","tId":"11000998"},"mskdPAN":"222360******0011","trxnAmount":"1000","trxnCcyCd":"978","respCd":"00","respMsg":"Approve","icc":"MDEwMDBGOUYzNjAyMDAwMjkxMDhBMUE1N0JERTAwODYwMDAw","trxnId":"120415164401005769960123433915967345","authCd":"013489","stan":"300531","rrn":"503111509114","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA==","addData":"R220504011"},"400":{"description":"Bad Request – Payment declined or invalid input","content":{"application/json":{"example":{"merchantData":{"mId":"62941828","tId":"11000998"},"mskdPAN":"222360******0011","trxnAmount":"1000","trxnCcyCd":"978","respCd":"06","respMsg":"Error","trxnId":"","authCd":"","stan":"","rrn":"","trxnDateTime":"0131113609","mac":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenization/card":{"post":{"tags":["Tokenization"],"summary":"Save card","description":"# tokenization","operationId":"save_card_tokenization_card_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveCardRequest"},"examples":{"Clean card":{"summary":"Plain PAN card save request","description":"Example of saving a card using a plain PAN without KSN encryption. Use this scenario for direct card tokenization requests from trusted integrations.","value":{"card_number":"4111101011111003","exp_year":"2035","exp_month":"12","cardholder_name":"YORGO RIA","mid":"9876654342099","tid":"10002363","transaction_reference":"tok-save-plain-20260318-0001"}},"Encrypted card":{"summary":"Encrypted PAN card save request","description":"Example of saving a card using an encrypted PAN together with KSN. This scenario is intended for encrypted device-originated card data.","value":{"card_number":"5d0e5b97b513780c4abf1d05937b288e","exp_year":"2030","exp_month":"12","cardholder_name":"YORGO RIA","ksn":"1044201196027ec0000a","mid":"9876654342099","tid":"110002363","transaction_reference":"tok-save-encrypted-20260318-0002"}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveCardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/tokenization/sale":{"post":{"tags":["Tokenization"],"summary":"Token payin","description":"# Perform SALE using a tokenized card","operationId":"token_payin_tokenization_sale_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenPayInRequest"},"examples":{"Visa card":{"summary":"Test tokenization payin","description":"Clean card request","value":{"amount":"10.01","currency":"EUR","token_id":"agg86094-1338-43a0-1ct4-bt913c156030"}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenPayInResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenization/payout":{"post":{"tags":["Tokenization"],"summary":"Token payout","description":"# Perform payout using a tokenized card","operationId":"token_payout_tokenization_payout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenPayoutRequest"},"examples":{"Visa card":{"summary":"Test tokenization payout","description":"Clean card request","value":{"amount":"10.01","currency":"EUR","token_id":"996236693436463385"}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenPayoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenization/token":{"post":{"tags":["Tokenization"],"summary":"GET token","operationId":"get_token_tokenization_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTokenRequest"},"examples":{"by_authcd_rrn":{"summary":"Find by authCd and rrn","value":{"authCd":"013489","rrn":"503111509114"}},"by_processor_transaction_reference":{"summary":"Find by processor transaction reference","value":{"processor_transaction_reference":"013111360901003093570034609618686879"}}}}},"required":true},"responses":{"200":{"description":"Token found successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTokenResponse"},"example":{"status":"Success","status_code":200,"token":{"id":2,"tito_token":"990073647339802745","uuid_token":"0e2c3993-a543-4afe-aa52-be3f0124321f","card_id":535211,"transaction_id":987654,"is_used":false,"masked_pan":"411110******1003","expired":"3512"}}}}},"400":{"description":"Invalid request","content":{"application/json":{"example":{"detail":"Provide either processor_transaction_reference or both authCd and rrn"}}}},"404":{"description":"Transaction or token not found","content":{"application/json":{"example":{"detail":"Token not found"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/webhooks/":{"post":{"tags":["Webhooks","Webhooks"],"summary":"Create webhook","description":"Create a new webhook configuration for a given event type.","operationId":"webhook_create_webhooks__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreateRequest"},"examples":{"sale_webhook_example":{"summary":"Sale webhook","description":"Webhook that will be called when a sale transaction event is created.","value":{"merchant_identity":"62552880","terminal_identity":"11000998","url":"https://merchant.example.com/webhooks/kykeon","event_type":"sale","secret_key":"c4c99b8c8a8d4b1bb5f5189bd6e23da0","is_active":true,"max_retries":3,"timeout_ms":3000,"extra_headers":{"X-Merchant-Id":"62552880"}}},"refund_webhook_example":{"summary":"Refund webhook","description":"Webhook that will be called when a refund event is created.","value":{"merchant_identity":"62552880","url":"https://merchant.example.com/webhooks/refunds","event_type":"refund","secret_key":"a9f12b7c28d74d17aa59cbb8f129f000","is_active":true,"max_retries":5,"timeout_ms":5000,"extra_headers":{"X-Environment":"production","X-Webhook-Source":"kykeon-payment-api"}}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOperationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/webhooks/{webhook_id}":{"get":{"tags":["Webhooks","Webhooks"],"summary":"Get webhook","description":"Get webhook configuration by its ID.","operationId":"webhook_get_webhooks__webhook_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOperationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Webhooks","Webhooks"],"summary":"Update webhook","description":"Update existing webhook configuration (full/partial update).","operationId":"webhooks_update_patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookUpdateRequest"},"examples":{"deactivate_webhook_example":{"summary":"Deactivate webhook","value":{"is_active":false}},"increase_retries_example":{"summary":"Increase max retries and timeout","value":{"max_retries":5,"timeout_ms":7000}},"change_event_type_example":{"summary":"Change event type and endpoint","value":{"event_type":"settled","url":"https://merchant.example.com/webhooks/settlements"}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOperationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Webhooks","Webhooks"],"summary":"Delete webhook","description":"Delete webhook configuration by its ID.","operationId":"webhook_delete_webhooks__webhook_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOperationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/{webhook_id}/test":{"post":{"tags":["Webhooks","Webhooks"],"summary":"Test webhook","description":"Send a test event to the endpoint configured for the given webhook subscription.","operationId":"webhook_test_webhooks__webhook_id__test_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/deliveries/{delivery_id}/resend":{"post":{"tags":["Webhooks","Webhooks"],"summary":"Resend webhook delivery","description":"Re-queue an existing webhook delivery so it is sent again. The delivery is reset to pending (lock and retry cleared) and re-published to RabbitMQ; if RabbitMQ is unavailable the background poller will pick it up. Returns immediately, before delivery is attempted.","operationId":"webhook_delivery_resend_webhooks_deliveries__delivery_id__resend_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"integer","title":"Delivery Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryOperationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/taprelay/sale":{"post":{"tags":["TapRelay"],"summary":"TapRelay Sale","description":"Start a SALE transaction on a connected TapRelay device.","operationId":"sale_taprelay_sale_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelaySaleRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaleResponse"}}}},"401":{"description":"Unauthorized (missing or invalid X-API-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"06","respMsg":"Invalid or missing API key","message":"Please provide valid API key"}}}},"403":{"description":"Forbidden (API key valid but not allowed)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"57","respMsg":"Operation not permitted","message":"API key does not have permission for this operation"}}}},"404":{"description":"Requested TapRelay device not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"25","respMsg":"Device not found","message":"Requested terminal is not connected"}}}},"409":{"description":"Conflict (no TapRelay devices connected)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"91","respMsg":"No TapRelay devices connected","message":"No active terminals available"}}}},"422":{"description":"Validation error (invalid request payload)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"30","respMsg":"Format error","message":"Invalid request parameters"}}}},"502":{"description":"TapRelay or terminal backend unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"96","respMsg":"System malfunction","message":"TapRelay service unavailable"}}}}},"security":[{"APIKeyHeader":[]}]}},"/taprelay/preauth":{"post":{"tags":["TapRelay"],"summary":"TapRelay Pre-auth","description":"Start a PRE-AUTH transaction (sale with subtype \"preauth\") on a connected TapRelay device.","operationId":"preauth_taprelay_preauth_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayPreauthRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreauthResponse"}}}},"401":{"description":"Unauthorized (missing or invalid X-API-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"06","respMsg":"Invalid or missing API key","message":"Please provide valid API key"}}}},"403":{"description":"Forbidden (API key valid but not allowed)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"57","respMsg":"Operation not permitted","message":"API key does not have permission for this operation"}}}},"404":{"description":"Requested TapRelay device not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"25","respMsg":"Device not found","message":"Requested terminal is not connected"}}}},"409":{"description":"Conflict (no TapRelay devices connected)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"91","respMsg":"No TapRelay devices connected","message":"No active terminals available"}}}},"422":{"description":"Validation error (invalid request payload)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"30","respMsg":"Format error","message":"Invalid request parameters"}}}},"502":{"description":"TapRelay or terminal backend unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"96","respMsg":"System malfunction","message":"TapRelay service unavailable"}}}}},"security":[{"APIKeyHeader":[]}]}},"/taprelay/adjustment":{"post":{"tags":["TapRelay"],"summary":"TapRelay Pre-auth Adjustment","description":"Adjust an existing pre-authorization (sale with subtype \"adjustment\") on a connected TapRelay device.","operationId":"adjustment_taprelay_adjustment_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayAdjustmentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdjustmentResponse"}}}},"401":{"description":"Unauthorized (missing or invalid X-API-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"06","respMsg":"Invalid or missing API key","message":"Please provide valid API key"}}}},"403":{"description":"Forbidden (API key valid but not allowed)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"57","respMsg":"Operation not permitted","message":"API key does not have permission for this operation"}}}},"404":{"description":"Requested TapRelay device not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"25","respMsg":"Device not found","message":"Requested terminal is not connected"}}}},"409":{"description":"Conflict (no TapRelay devices connected)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"91","respMsg":"No TapRelay devices connected","message":"No active terminals available"}}}},"422":{"description":"Validation error (invalid request payload)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"30","respMsg":"Format error","message":"Invalid request parameters"}}}},"502":{"description":"TapRelay or terminal backend unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"96","respMsg":"System malfunction","message":"TapRelay service unavailable"}}}}},"security":[{"APIKeyHeader":[]}]}},"/taprelay/completion":{"post":{"tags":["TapRelay"],"summary":"TapRelay Pre-auth Completion","description":"Complete an existing pre-authorization (sale with subtype \"completion\") on a connected TapRelay device.","operationId":"completion_taprelay_completion_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayCompletionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletionResponse"}}}},"401":{"description":"Unauthorized (missing or invalid X-API-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"06","respMsg":"Invalid or missing API key","message":"Please provide valid API key"}}}},"403":{"description":"Forbidden (API key valid but not allowed)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"57","respMsg":"Operation not permitted","message":"API key does not have permission for this operation"}}}},"404":{"description":"Requested TapRelay device not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"25","respMsg":"Device not found","message":"Requested terminal is not connected"}}}},"409":{"description":"Conflict (no TapRelay devices connected)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"91","respMsg":"No TapRelay devices connected","message":"No active terminals available"}}}},"422":{"description":"Validation error (invalid request payload)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"30","respMsg":"Format error","message":"Invalid request parameters"}}}},"502":{"description":"TapRelay or terminal backend unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"96","respMsg":"System malfunction","message":"TapRelay service unavailable"}}}}},"security":[{"APIKeyHeader":[]}]}},"/taprelay/reversal":{"post":{"tags":["TapRelay"],"summary":"TapRelay Reversal","description":"Start a REVERSAL transaction on a connected TapRelay device.","operationId":"reversal_taprelay_reversal_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayReversalRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayReversalResponse"}}}},"401":{"description":"Unauthorized (missing or invalid X-API-Key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"06","respMsg":"Invalid or missing API key","message":"Please provide valid API key"}}}},"403":{"description":"Forbidden (API key valid but not allowed)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"57","respMsg":"Operation not permitted","message":"API key does not have permission for this operation"}}}},"404":{"description":"Requested TapRelay device not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"25","respMsg":"Device not found","message":"Requested terminal is not connected"}}}},"409":{"description":"Conflict (no TapRelay devices connected)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"91","respMsg":"No TapRelay devices connected","message":"No active terminals available"}}}},"422":{"description":"Validation error (invalid request payload)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"30","respMsg":"Format error","message":"Invalid request parameters"}}}},"502":{"description":"TapRelay or terminal backend unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayHTTPError"},"example":{"respCd":"96","respMsg":"System malfunction","message":"TapRelay service unavailable"}}}}},"security":[{"APIKeyHeader":[]}]}},"/taprelay/refund":{"post":{"tags":["TapRelay"],"summary":"TapRelay Refund","description":"Start a REFUND transaction on a connected TapRelay device.","operationId":"refund_taprelay_refund_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayRefundRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayRefundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/taprelay/cancel":{"post":{"tags":["TapRelay"],"summary":"TapRelay Cancel","description":"Cancel the currently running transaction on a connected TapRelay device.","operationId":"cancel_taprelay_cancel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayCancelRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/taprelay/screen":{"post":{"tags":["TapRelay"],"summary":"TapRelay Screen","description":"Get the current screen/status from a connected TapRelay device.","operationId":"taprelay_screen_status_taprelay_screen_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayCurrentScreenStatusRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScreenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/taprelay/last":{"post":{"tags":["TapRelay"],"summary":"TapRelay Transaction Status","description":"Get last transaction status from a connected TapRelay device.","operationId":"taprelay_last_transaction_taprelay_last_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayLastTransactionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayLastTransactionStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/taprelay/reconciliation":{"post":{"tags":["TapRelay"],"summary":"TapRelay Reconciliation","description":"Start terminal reconciliation on a connected TapRelay device.","operationId":"taprelay_reconciliation_taprelay_reconciliation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRelayReconciliationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconciliationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/helper/heartbeat/":{"get":{"tags":["Helper"],"summary":"Heartbeat service check","description":"# Internal System Status Check\n\nThis endpoint provides a real-time status check of various internal system components.  \nClients can use this GET request to determine if specific services are operational.\n\n## 📄 Response Details\n\nThe response will be a JSON object where each key represents a system component,  \nand its value (`True` or `False`) indicates whether the component is currently functioning.\n\n## 🔍 Example Response\n\n```json\n{\n    \"nodeA\": true,\n    \"nodeB\": true,\n    \"nodeC\": true,\n    \"apiPOS\": true,\n    \"apiECOM\": true,\n    \"apiFraud\": true,\n    \"apiPortal\": true\n}","operationId":"helper_heartbeat_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemStatusResponse"}}}}}},"post":{"tags":["Helper"],"summary":"Heartbeat service check","description":"# Internal System Status Check\n\nThis endpoint provides a real-time status check of various internal system components.  \nClients can use this GET request to determine if specific services are operational.\n\n## 📄 Response Details\n\nThe response will be a JSON object where each key represents a system component,  \nand its value (`True` or `False`) indicates whether the component is currently functioning.\n\n## 🔍 Example Response\n\n```json\n{\n    \"nodeA\": true,\n    \"nodeB\": true,\n    \"nodeC\": true,\n    \"apiPOS\": true,\n    \"apiECOM\": true,\n    \"apiFraud\": true,\n    \"apiPortal\": true\n}","operationId":"helper_heartbeat_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemStatusResponse"}}}}}}},"/report/trxnreport/":{"post":{"tags":["Reports"],"summary":"Transaction report","description":"# Transaction Report\n\nThis endpoint allows clients to retrieve **transaction reports** with a paginated response.  \nIt provides transaction details based on **merchant, terminal, and date filters**.\n\n## 📌 Request Details\n\n- The request **must include**:\n  - `merchant_id`: ID of the merchant.\n  - `terminal_id`: ID of the terminal.\n  - `date_from`: Start date for the report.\n  - `date_to`: End date for the report.\n  - `page` (optional, default=`1`): Page number to retrieve.\n\n- The API **returns a maximum of 100 transactions per request**.\n- To fetch additional records, increase the `page` parameter (`page=2`, `page=3`, etc.).\n\n---\n\n## 🔍 Example Request\n\n```http\nPOST /trxnreport/?page=1\nContent-Type: application/json\n\n{\n    \"merchant_id\": 2,\n    \"terminal_id\": 7,\n    \"date_from\": \"2024-10-23\",\n    \"date_to\": \"2025-03-07\"\n}","operationId":"get_trxn_report_report_trxnreport__post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionReportRequest"},"examples":{"trxnreportex01":{"summary":"TRANSACTION REPORT","description":"A sample request for TRANSACTION REPORT with pagination support.","value":{"merchant_id":2,"terminal_id":7,"date_from":"2024-10-23","date_to":"2025-03-07","page":1}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedTransactionReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bin-lookup/":{"post":{"tags":["BIN Lookup"],"summary":"Bin Lookup","operationId":"bin_lookup_bin_lookup__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BinLookupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BinLookupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/ecomapi/hpp/session":{"post":{"tags":["Hosted Payment Page"],"summary":"Create a Hosted Payment Page session","description":"Creates a Hosted Payment Page session and returns the `payment_url` the cardholder must be sent to\n(full-page redirect; the page refuses to be embedded in an iframe).\n\n\n<a href=\"/static/hpp_flow.svg\" target=\"_blank\" rel=\"noopener\" title=\"Open the diagram full size\"><img src=\"/static/hpp_flow.svg\" alt=\"Hosted Payment Page flow\" style=\"width:100%;max-width:1180px;cursor:zoom-in\"/></a>\n\n<a href=\"/static/hpp_flow.svg\" target=\"_blank\" rel=\"noopener\">Open the flow diagram full size</a> · <a href=\"/static/hpp_flow.svg\" download=\"kykeon-hpp-flow.svg\">Download SVG</a>\n\n<details><summary><strong>Flow as text</strong></summary>\n\n```\nMerchant backend        Kykeon (HPP + core)              Cardholder browser          LINK4DSecure / Issuer\n 1. POST /ecomapi/hpp/session  ───────►  create session (Redis + PostgreSQL)\n 2. ◄─── 201 session_id, payment_url\n 3. redirect cardholder ───────────────────────────────────►  4. GET /hpp/{token}  (payment page)\n                                          ◄────────────────────  5. POST /hpp/api/pay/init   (card, browser data)\n                                          6. 3DS /preauth  ─────────────────────────────────►  threeDSServerTransID\n                                                                 7. optional 3DS Method iframe (≤ 5 s)\n                                          ◄────────────────────  8. POST /hpp/api/pay/authorize\n                                          9. 3DS /auth  ──────────────────────────────────►  ARes: Y/A frictionless | C challenge\n                     challenge only:                             10. creq → acsURL (iframe, OTP / app approval)\n                                          ◄──────────────────── 11. ACS posts cres → /hpp/3ds/notify/{sid}\n                                          ◄──────────────────── 12. POST /hpp/api/pay/complete → 3DS /postauth\n                                         13. authorization (same core as /ecomapi/preauth) ──►  host: approved / declined\n                                          ────────────────────► 14. result screen → redirect success / failure / cancel URL\n15. ◄─── cardholder lands on the redirect URL (session_id, transaction_reference, status appended)\n16. GET /ecomapi/hpp/sessions/{session_id} ───►  status + transaction + card_token   (always verify server-side)\n```\n\n</details>\n\n\n### What happens after this call\n\n1. Redirect the cardholder to `payment_url`. The link is a signed, single-session token valid until `expires_at`.\n2. The cardholder enters the card (or uses Apple Pay / Google Pay). Kykeon runs 3-D Secure 2 and the authorization.\n3. Without `redirect_urls` the cardholder stays on Kykeon's hosted result page (amount, reference, transaction id,\n   authorization code, masked card, date). With `redirect_urls` the cardholder is sent to `success`, `failure` or `cancel`\n   with `?session_id=…&transaction_reference=…&status=…` appended.\n4. **Verify the outcome server-side** with `GET /ecomapi/hpp/sessions/{session_id}` (or the `preauth` webhook)\n   before releasing goods. The redirect is informational only.\n\n### Parameters — meaning and effect\n\n<span style=\"color:#dc2626;font-weight:700\">*</span> = required\n\n| Parameter | What it means | What Kykeon does with it |\n|---|---|---|\n| `transaction_reference` <span style=\"color:#dc2626;font-weight:700\">*</span> | Your own order / payment identifier (5–36 chars, `A-Z a-z 0-9 - _`). | Stored on the session and on the authorization as Kykeon `transaction_reference`; searchable with `GET /ecomapi/hpp/sessions?transaction_reference=`. Only one `open`/`processing` session per reference: a second call returns `409` with the existing `session_id`. |\n| `transaction_type` | `purchase` (default) or `preauth`. | Both create an authorization. `purchase` may be combined with `is_instant_capture`; `preauth` is always capture-later (`is_instant_capture=true` is rejected). |\n| `is_instant_capture` | `true` = capture the whole amount automatically right after approval. | Kykeon queues the capture ~1 s after authorization; the status becomes `captured` when it completes. With `false` you capture yourself with `POST /ecomapi/capture/` using `transaction.transaction_id`. |\n| `amount.value` <span style=\"color:#dc2626;font-weight:700\">*</span> | Amount in the **smallest currency unit** (`12500` = `125.00 EUR`, `1500 JPY` = `1500`). | Shown on the page, sent to 3-D Secure and to the host. Must be > 0. |\n| `amount.currency` <span style=\"color:#dc2626;font-weight:700\">*</span> | ISO 4217 alpha-3 (`EUR`, `USD`…). | Selects the merchant terminal for that currency (`400` if none exists). |\n| `payment_methods` | Which tabs the page offers: `card`, `apple_pay`, `google_pay` (default `[\"card\"]`). | Wallet tabs are shown only when the wallet is enabled on Kykeon **and** the browser supports it (Apple Pay: Safari; Google Pay: Chrome / Android). Anything not listed is rejected on the page. |\n| `customer.reference` | Your customer id. | Echoed back as `customer_reference` in status responses. |\n| `customer.email` / `phone` / `name` | Cardholder contact data. | E-mail is forwarded to 3-D Secure (risk scoring, better frictionless rate). Nothing is shown to the cardholder. |\n| `billing.address` | Billing address (`country` = ISO alpha-2). | Forwarded to 3-D Secure as billing fields and used as the country for Apple Pay / Google Pay sheets. |\n| `billing_details` | `true` = ask the cardholder for the billing address on the payment page (address, city, postal code, country, optional state). Use it when you do not know the address. | The typed address is validated, stored on the session as `billing` and forwarded to 3-D Secure. If you also send `billing.address` it is pre-filled and the cardholder can correct it. Default `false`: no address fields are shown. |\n| `shipping.address` | Delivery address. | Stored with the session for your records. |\n| `redirect_urls` | Optional. Where to send the cardholder afterwards (`success`, `failure`, `cancel`; all three when given). | **Omit it and Kykeon shows its own hosted result page**: the cardholder sees the outcome with the amount, reference, transaction id, authorization code, masked card and date, and can close the page. With URLs, Kykeon redirects a few seconds after the result and appends `session_id`, `transaction_reference` and `status`. HTTPS only in production. |\n| `redirect_urls.success` | Landing page after an approved payment. | Redirect with the query parameters above. |\n| `redirect_urls.failure` | Where the cardholder lands after a final decline, a technical failure or an expired link. | Same query parameters appended. |\n| `redirect_urls.cancel` | Where the cardholder lands after pressing *Cancel* on the page. | The session becomes `cancelled`. |\n| `ui_theme` | Colour scheme: `light` (default), `dark`, `auto` (follows the device). | The cardholder can still toggle it on the page. |\n| `ui_style` | Visual style: `hitech` (default, sharp technical look), `retro` (offset shadows, chunky type), `grunge` (distressed textures, stencil headings). | All styles use straight corners and the LINK4TECH yellow accent. |\n| `locale` | Page language: `en` (default), `el`, `es`, `de`. | The cardholder can switch languages on the page. |\n| `description` | Short text shown under the amount (≤ 128 chars), e.g. `Order #45821`. | Display only. |\n| `dynamic_descriptor` | 6–22 chars printed on the cardholder's bank statement. | Must be one of the descriptors allowed on the terminal, otherwise `400`. |\n| `terminal_id` | Kykeon terminal identity. | Needed only when the merchant has several terminals for the currency. |\n| `expires_in_seconds` | Session lifetime, 300 … 86400 (default 3600). | After `expires_at` the link stops working and the status becomes `expired`. |\n| `metadata` | Up to 20 scalar key/values (≤ 2 KB). | Stored and echoed back in every status response; never shown to the cardholder. |\n\n### Rules\n\n* **One live session per reference** — protects you from double links for the same order.\n* **Attempts** — the cardholder may try up to 3 cards (`HPP_MAX_PAYMENT_ATTEMPTS`). Each declined attempt is recorded in `transaction` / `error`; the session stays `open` until attempts run out (then `declined`) or the link expires.\n* **3-D Secure is mandatory** for card payments: no authentication → no authorization. Apple Pay tokens are 3DS-equivalent; Google Pay `PAN_ONLY` tokens are authenticated on the page.\n* **Remember card** — when the cardholder ticks it and the payment is approved, the status response contains `card_token` (`tito_token` / `uuid_token`). Use `tito_token` as `card_number` with `pan_entry_mode=card_on_file` in `/ecomapi/preauth/`.\n* **Hosted result page** — no `redirect_urls` means the outcome is shown on the Kykeon page; the merchant still gets it from `GET /ecomapi/hpp/sessions/{session_id}` or the webhook.\n* **Billing address** — with `billing_details=true` the payment cannot be submitted until the address is filled in; the address is stored on the session and sent to 3-D Secure (better frictionless rate).\n* **Idempotent reads** — status is served from Redis for 24 h and from PostgreSQL afterwards; poll as often as you like.\n\n### Test cards (sandbox / stage)\n\nThe page validates the card locally (Luhn, length 16 or 19, 3-digit CVV, future expiry, Latin name) and then runs\n3-D Secure on the LINK4DSecure **sandbox**, which decides the 3DS outcome by exact card number, before the\nauthorization on the stage host. Use any future expiry (e.g. `12/31`), any 3-digit CVV and any Latin name unless stated.\n\n| Card number | Brand | 3-D Secure (sandbox) | Authorization | Resulting session |\n|---|---|---|---|---|\n| `5346932100108113` | Mastercard | frictionless, `transStatus=Y`, ECI 02 | approved on the stage host | `authorized` (or `captured` with `is_instant_capture`) |\n| `4123569999000282` | Visa (CVV `857`) | **challenge** — the sandbox ACS page shows *Pass* / *Fail* | *Pass* → approved; *Fail* → no authorization | *Pass* → `authorized` / `captured`; *Fail* → `error.code=3ds_not_authenticated`, session stays `open` until attempts run out (then `declined`) |\n| `5185520070000016` | Mastercard | **challenge** (*Pass* / *Fail*) | as above | as above |\n| `5100080000000018` | Mastercard | frictionless `Y` | 3DS-only test card: the stage host may decline it | `authorized` or `error.code=issuer_declined` |\n| `4005529999000123` | Visa | frictionless **not authenticated** (`N`) | not attempted | attempt declined (`3ds_not_authenticated`), `open` → `declined` after 3 attempts |\n| `4111101011111071` | Visa | frictionless `N` | not attempted | as above |\n| `5111100000000011`, `5111100000000029` | Mastercard | frictionless `N` | not attempted | as above |\n| `4111101011113333` | Visa | 3DS server error at `/preauth` (`messageType=Erro`) | not attempted | attempt failed (`error.code=3ds_unavailable`), retry allowed |\n| `378282246310005` | American Express | — | — | rejected on the page: brand not accepted / length 15 |\n\nSandbox cards that fail the Luhn check (`4111101011111003`, `5100080000002003`, `4111101011111072`, `5100080000003333`, …) are\nrejected by the page before any request is made; they are usable only when calling the 3DS server directly.\n\n**Other cases reproduce**\n\n| Case | How | Expected |\n|---|---|---|\n| Wrong card data | invalid number / past expiry / 2-digit CVV / Cyrillic name | inline validation error, nothing is sent |\n| Three declines | pay 3× with `4005529999000123` | third answer is final: status `declined`, redirect to `redirect_urls.failure` |\n| Cancel | press *Cancel and return to the merchant* | status `cancelled`, redirect to `redirect_urls.cancel` |\n| Expired link | create with `expires_in_seconds=300`, wait 5 min, open the link | *link expired* page; status `expired` |\n| Duplicate reference | create twice with the same `transaction_reference` while the first is `open` | second call returns `409` with the existing `session_id` |\n| Remember card | tick *Remember this card* with `5346932100108113` | status response contains `card_token` (`tito_token`, `uuid_token`) |\n| Re-opened link | open `payment_url` again after the payment | result screen with the outcome, no second payment possible |\n| Apple Pay / Google Pay | Safari with an Apple Pay **sandbox** tester account / Chrome with a Google account in the Google Pay **TEST** environment (any saved card returns a test token) | wallet token is decrypted and authorized like a card |\n\nIssuer-side declines (`05 Do not honor`, `51 Insufficient funds`, …) cannot be forced by card number on the stage host;\nask support@link4.tech for the host decline simulation rules.","operationId":"create_session_ecomapi_hpp_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HppSessionCreateRequest"},"examples":{"card_with_instant_capture":{"summary":"Purchase, card, instant capture","value":{"transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","transaction_type":"purchase","is_instant_capture":true,"amount":{"value":12500,"currency":"EUR"},"payment_methods":["card"],"customer":{"reference":"CUSTOMER-45821","email":"igor.ria@example.com","phone":"+35700000001","name":{"first_name":"Igo","last_name":"Ria"}},"billing":{"address":{"line1":"60 Lemesou Avenue","city":"Nicosia","postal_code":"2014","country":"CY"}},"shipping":{"address":{"line1":"20 Lemesou Avenue","city":"Nicosia","postal_code":"2020","country":"CY"}},"redirect_urls":{"success":"https://merchant.example.com/payment/success","cancel":"https://merchant.example.com/payment/cancel","failure":"https://merchant.example.com/payment/failure"},"ui_theme":"dark","ui_style":"hitech","locale":"en","description":"Order #45821","metadata":{"order_id":"45821"}}},"preauth_all_methods":{"summary":"Pre-authorization, wallets, hosted result page (no redirect_urls), cardholder types the billing address","value":{"transaction_reference":"ORDER-2026-000778","transaction_type":"preauth","is_instant_capture":false,"amount":{"value":4990,"currency":"EUR"},"payment_methods":["card","apple_pay","google_pay"],"billing_details":true,"ui_theme":"light","ui_style":"retro","locale":"en","expires_in_seconds":900}}}}}},"responses":{"201":{"description":"Session created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HppSessionCreateResponse"},"example":{"session_id":"hpp_sess_01K50MY9KN7XJEK91K8R53TQPB","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","status":"open","amount":{"value":12500,"currency":"EUR"},"payment_url":"https://kykeons.link4.tech/hpp/eyJhbGciOiJIUzI1NiIsInR5cCI6IkhQUCJ9.eyJzaWQiOiJocHBfc2Vzc18wMUs1ME1ZOUtON1hKRUs5MUs4UjUzVFFQQiIsImV4cCI6MTc4ODk1MzkzMiwibiI6IlQzNmdRdEJEZFRSaSJ9.6mQ0a9mM4Qb3lY2mV1c5bX8Ck5Zc1o7l2m3ZbT9vD4E","created_at":"2026-09-09T09:05:32Z","expires_at":"2026-09-09T10:05:32Z"}}}},"400":{"description":"Validation / configuration error","content":{"application/json":{"example":{"status_code":400,"detail":"Terminal for this currency/identity does not exist","message":"Terminal for this currency/identity does not exist - check the currency code and terminal identity"}}}},"401":{"description":"Missing or invalid X-API-KEY"},"409":{"description":"An open session already exists for this transaction_reference","content":{"application/json":{"example":{"status_code":409,"detail":"Session already exists","message":"An open session already exists for transaction_reference agg86094-1338-43a0-1ct4-bt913c156030","session_id":"hpp_sess_01K50MY9KN7XJEK91K8R53TQPB","payment_url":"https://kykeons.link4.tech/hpp/eyJ..."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/ecomapi/hpp/sessions":{"get":{"tags":["Hosted Payment Page"],"summary":"Find sessions by transaction_reference","description":"Finds sessions created for a merchant `transaction_reference` (newest first). Useful when you lost the `session_id` or want the history of retries for an order.","operationId":"list_sessions_ecomapi_hpp_sessions_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"transaction_reference","in":"query","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9-_]{5,36}$","examples":["agg86094-1338-43a0-1ct4-bt913c156030"],"title":"Transaction Reference"}}],"responses":{"200":{"description":"Sessions for the reference","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HppSessionListResponse"},"example":{"transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","count":1,"sessions":[{"session_id":"hpp_sess_01K50MY9KN7XJEK91K8R53TQPB","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","status":"authorized","transaction_type":"purchase","is_instant_capture":false,"amount":{"value":12500,"currency":"EUR"},"payment_methods":["card","apple_pay","google_pay"],"ui_theme":"light","ui_style":"hitech","description":"Order #45821","customer_reference":"CUSTOMER-45821","attempts":1,"transaction":{"transaction_id":"120415164401005769960123433915967345","status":"authorized","authorization_code":"123456","rrn":"625212345678","response_code":"00","response_message":"Approve","authorized_amount":"125.00","processed_at":"2026-09-09T09:08:14Z","masked_pan":"411110******1003","card_brand":"VISA","three_ds":{"status":"Y","eci":"05","version":"2.2.0","flow":"frictionless","ds_transaction_id":"c4b98021-89e8-44c5-9118-c570f4bacfbb"}},"card_token":{"tito_token":"996236693436463385","uuid_token":"b3386094-1338-43a0-9ct4-bt913c156999","masked_pan":"411110******1003","expiry_month":"12","expiry_year":"2031"},"metadata":{"order_id":"45821"},"created_at":"2026-09-09T09:05:32Z","expires_at":"2026-09-09T10:05:32Z","completed_at":"2026-09-09T09:08:14Z"}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ecomapi/hpp/sessions/{session_id}":{"get":{"tags":["Hosted Payment Page"],"summary":"Get the status of a session","description":"Returns the current state of a session (Redis for 24 h, database afterwards).\n\n### `status`\n\n| status | meaning | what to do |\n|---|---|---|\n| `open` | link is live, the cardholder has not paid yet. A declined attempt with attempts left keeps the session `open` (see `transaction` / `error`). | keep polling or wait for the redirect / webhook |\n| `processing` | card submitted, 3-D Secure / authorization in flight | wait |\n| `authorized` | approved; capture pending (manual, or instant capture still running) | `is_instant_capture=false`: capture with `POST /ecomapi/capture/` |\n| `captured` | approved and the instant capture completed | deliver the goods |\n| `declined` | issuer or 3-D Secure declined and no attempts left | final, nothing to capture |\n| `failed` | technical failure (3DS server, host, configuration) | final; create a new session to retry |\n| `expired` | `expires_at` reached without a final payment | final; create a new session |\n| `cancelled` | cancelled by the cardholder on the page or by the merchant | final |\n\n### Other fields\n\n* `transaction` — the **last authorization attempt**: `transaction_id` (Kykeon id for capture / void / refund / status),\n  `status`, `authorization_code`, `rrn`, `response_code` / `response_message` (issuer ISO 8583 DE39),\n  `authorized_amount`, `masked_pan`, `card_brand`, `three_ds` (`status` Y/A/N/U/R, `eci`, `version`, `flow`\n  `frictionless` / `challenge` / `none`, `ds_transaction_id`).\n* `card_token` — present after an approved payment where the cardholder ticked *Remember this card*.\n* `error` — `{code, message}` of the last problem (`issuer_declined`, `3ds_not_authenticated`, `3ds_unavailable`,\n  `wallet_token_invalid`, `attempts_exhausted`, `authorization_error`…).\n* `attempts` — number of payment attempts made on the page.\n* `payment_url` — returned only while the session is `open`.","operationId":"get_session_ecomapi_hpp_sessions__session_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","pattern":"^hpp_sess_[0-9A-HJKMNP-TV-Z]{26}$","examples":["hpp_sess_01K50MY9KN7XJEK91K8R53TQPB"],"title":"Session Id"}}],"responses":{"200":{"description":"Session state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HppSessionStatusResponse"},"examples":{"open":{"summary":"Open - waiting for the cardholder","value":{"session_id":"hpp_sess_01K50MY9KN7XJEK91K8R53TQPB","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","status":"open","transaction_type":"purchase","is_instant_capture":false,"amount":{"value":12500,"currency":"EUR"},"payment_methods":["card","apple_pay","google_pay"],"payment_url":"https://kykeons.link4.tech/hpp/eyJ...","ui_theme":"light","ui_style":"hitech","description":"Order #45821","customer_reference":"CUSTOMER-45821","attempts":0,"metadata":{"order_id":"45821"},"created_at":"2026-09-09T09:05:32Z","expires_at":"2026-09-09T10:05:32Z"}},"authorized":{"summary":"Authorized (3DS frictionless, card remembered)","value":{"session_id":"hpp_sess_01K50MY9KN7XJEK91K8R53TQPB","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","status":"authorized","transaction_type":"purchase","is_instant_capture":false,"amount":{"value":12500,"currency":"EUR"},"payment_methods":["card","apple_pay","google_pay"],"ui_theme":"light","ui_style":"hitech","description":"Order #45821","customer_reference":"CUSTOMER-45821","attempts":1,"transaction":{"transaction_id":"120415164401005769960123433915967345","status":"authorized","authorization_code":"123456","rrn":"625212345678","response_code":"00","response_message":"Approve","authorized_amount":"125.00","processed_at":"2026-09-09T09:08:14Z","masked_pan":"411110******1003","card_brand":"VISA","three_ds":{"status":"Y","eci":"05","version":"2.2.0","flow":"frictionless","ds_transaction_id":"c4b98021-89e8-44c5-9118-c570f4bacfbb"}},"card_token":{"tito_token":"996236693436463385","uuid_token":"b3386094-1338-43a0-9ct4-bt913c156999","masked_pan":"411110******1003","expiry_month":"12","expiry_year":"2031"},"metadata":{"order_id":"45821"},"created_at":"2026-09-09T09:05:32Z","expires_at":"2026-09-09T10:05:32Z","completed_at":"2026-09-09T09:08:14Z"}},"captured":{"summary":"Captured (is_instant_capture=true)","value":{"session_id":"hpp_sess_01K50MY9KN7XJEK91K8R53TQPB","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","status":"captured","transaction_type":"purchase","is_instant_capture":true,"amount":{"value":12500,"currency":"EUR"},"payment_methods":["card","apple_pay","google_pay"],"ui_theme":"light","ui_style":"hitech","description":"Order #45821","customer_reference":"CUSTOMER-45821","attempts":1,"transaction":{"transaction_id":"120415164401005769960123433915967345","status":"captured","authorization_code":"123456","rrn":"625212345678","response_code":"00","response_message":"Approve","authorized_amount":"125.00","processed_at":"2026-09-09T09:08:14Z","masked_pan":"411110******1003","card_brand":"VISA","three_ds":{"status":"Y","eci":"05","version":"2.2.0","flow":"frictionless","ds_transaction_id":"c4b98021-89e8-44c5-9118-c570f4bacfbb"}},"metadata":{"order_id":"45821"},"created_at":"2026-09-09T09:05:32Z","expires_at":"2026-09-09T10:05:32Z","completed_at":"2026-09-09T09:08:14Z"}},"declined":{"summary":"Declined by the issuer","value":{"session_id":"hpp_sess_01K50MY9KN7XJEK91K8R53TQPB","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","status":"declined","transaction_type":"purchase","is_instant_capture":false,"amount":{"value":12500,"currency":"EUR"},"payment_methods":["card","apple_pay","google_pay"],"ui_theme":"light","ui_style":"hitech","description":"Order #45821","customer_reference":"CUSTOMER-45821","attempts":3,"transaction":{"transaction_id":"120415164401005769960123433915967346","status":"declined","rrn":"625212345679","response_code":"05","response_message":"Do not honor","processed_at":"2026-09-09T09:08:14Z","masked_pan":"411110******1071","card_brand":"VISA","three_ds":{"status":"Y","eci":"05","version":"2.2.0","flow":"challenge","ds_transaction_id":"c4b98021-89e8-44c5-9118-c570f4bacfbb"}},"error":{"code":"issuer_declined","message":"Your bank did not approve this payment. (Do not honor)"},"metadata":{"order_id":"45821"},"created_at":"2026-09-09T09:05:32Z","expires_at":"2026-09-09T10:05:32Z","completed_at":"2026-09-09T09:08:14Z"}}}}}},"401":{"description":"Missing or invalid X-API-KEY"},"404":{"description":"Unknown session or session of another merchant","content":{"application/json":{"example":{"status_code":404,"detail":"Session not found","message":"Session not found"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ecomapi/hpp/sessions/{session_id}/cancel":{"post":{"tags":["Hosted Payment Page"],"summary":"Cancel an open session","description":"Cancels an `open` session so the link stops working (the cardholder sees an *unavailable* page). Sessions in any other state return `409`.","operationId":"cancel_session_ecomapi_hpp_sessions__session_id__cancel_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","pattern":"^hpp_sess_[0-9A-HJKMNP-TV-Z]{26}$","examples":["hpp_sess_01K50MY9KN7XJEK91K8R53TQPB"],"title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HppSessionStatusResponse"}}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HppErrorResponse"}}},"description":"Conflict"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HppErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AFT":{"properties":{"sender":{"anyOf":[{"$ref":"#/components/schemas/SenderInfo"},{"type":"null"}],"description":"Sender information for Visa"},"recipient":{"$ref":"#/components/schemas/RecipientInfo","description":"Recipient information"},"transaction_purpose":{"anyOf":[{"$ref":"#/components/schemas/TransactionMastercardPurpose"},{"$ref":"#/components/schemas/TransactionVisaPurpose"},{"type":"null"}],"title":"Transaction Purpose","description":"Transaction purpose","example":"Other"}},"type":"object","required":["recipient"],"title":"AFT"},"AVS":{"properties":{"service_indicator":{"type":"string","title":"Service Indicator","description":"AVS Service Indicator. Supported values: 01, 02, 03, 04","default":"01","examples":["01"]},"postal_code":{"type":"string","maxLength":9,"minLength":1,"title":"Postal Code","description":"Cardholder postal/ZIP code.","examples":["2003"]},"address":{"type":"string","maxLength":100,"minLength":1,"title":"Address","description":"Cardholder billing address.","examples":["60 LEMESOU AVE"]}},"type":"object","required":["postal_code","address"],"title":"AVS"},"AccountNumberType":{"type":"string","enum":["Other","RTN_and_BankAccount","IBAN","Card_Account","Email","Phone_Number","Bank_Account_Number_and_BIC","Wallet_ID","SocialNetwork_ID"],"title":"AccountNumberType"},"Address":{"properties":{"line1":{"type":"string","maxLength":50,"minLength":1,"title":"Line1","examples":["60 Lemesou Avenue"]},"line2":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Line2"},"city":{"type":"string","maxLength":50,"minLength":1,"title":"City","examples":["Nicosia"]},"postal_code":{"type":"string","maxLength":16,"minLength":1,"title":"Postal Code","examples":["2014"]},"country":{"type":"string","maxLength":2,"minLength":2,"title":"Country","description":"ISO 3166-1 alpha-2","examples":["CY"]},"state":{"anyOf":[{"type":"string","maxLength":3},{"type":"null"}],"title":"State","description":"State / province code (US, CA)"}},"type":"object","required":["line1","city","postal_code","country"],"title":"Address"},"AddressHolder":{"properties":{"address":{"$ref":"#/components/schemas/Address"}},"type":"object","required":["address"],"title":"AddressHolder"},"AdjustmentResponse":{"properties":{"selected_serial":{"type":"string","title":"Selected Serial"},"selected_ip":{"type":"string","title":"Selected Ip"},"response":{"$ref":"#/components/schemas/SaleInnerResponse"}},"type":"object","required":["selected_serial","selected_ip","response"],"title":"AdjustmentResponse","description":"Pre-auth adjustment response (sale with subtype \"adjustment\")"},"Amount":{"properties":{"value":{"type":"integer","maximum":99999999999.0,"minimum":1.0,"title":"Value","description":"Amount in the smallest currency unit (cents). 12500 = 125.00 EUR","examples":[12500]},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"ISO 4217 alpha-3 code","examples":["EUR"]}},"type":"object","required":["value","currency"],"title":"Amount"},"BinLookupRequest":{"properties":{"card_number":{"type":"string","minLength":16,"title":"Card Number","description":"Card number / PAN. Spaces and dashes are allowed.","examples":["4111111111111111"]}},"type":"object","required":["card_number"],"title":"BinLookupRequest"},"BinLookupResponse":{"properties":{"card_brand":{"type":"string","title":"Card Brand"},"masked_card":{"type":"string","title":"Masked Card"},"bin_info":{"items":{"$ref":"#/components/schemas/PublicBinInfo"},"type":"array","title":"Bin Info"}},"type":"object","required":["card_brand","masked_card","bin_info"],"title":"BinLookupResponse"},"CancelInnerResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["success"],"title":"CancelInnerResponse"},"CancelResponse":{"properties":{"selected_serial":{"type":"string","title":"Selected Serial"},"selected_ip":{"type":"string","title":"Selected Ip"},"response":{"$ref":"#/components/schemas/CancelInnerResponse"}},"type":"object","required":["selected_serial","selected_ip","response"],"title":"CancelResponse","description":"Cancel transaction response"},"CaptureRequest":{"properties":{"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"transaction_id":{"type":"string","title":"Transaction Id","description":"The transaction ID from the pre-authorized payment response.","example":"120415164401005769960123433915967345"},"amount":{"type":"string","title":"Amount","description":"Amount to be captured (as a string).","example":"12.00"}},"type":"object","required":["transaction_id","amount"],"title":"CaptureRequest"},"CaptureResponse":{"properties":{"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"status":{"type":"string","title":"Status","description":"The status of the capture request.","example":"Transaction success"},"message":{"type":"string","title":"Message","description":"A message describing the result of the capture.","example":"Capture successful"},"transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Id","description":"A unique identifier for the transaction.","example":"2a6c9719-c680-4239-b6a7-f9d6ad2e1f1d"},"captured_amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Captured Amount","description":"The amount that was captured (as a string).","example":"12.00"},"status_code":{"type":"integer","title":"Status Code","description":"HTTP status code representing the result of the request.","example":200},"processed_at":{"type":"string","format":"date-time","title":"Processed At","description":"Timestamp when the request was processed.","example":"2024-11-18T17:47:21"},"bank_status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Status Code","description":"The status code returned by the bank or payment processor.","example":"12345"},"bank_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Status","description":"The status message returned by the bank or payment processor.","example":"Transaction approved"},"capture_id":{"type":"string","title":"Capture Id","description":"The original capture identificator.","example":"e8e80135-f478-4fb7-b70c-3380a2782dd5"}},"type":"object","required":["status","message","status_code","processed_at","capture_id"],"title":"CaptureResponse","example":{"bank_status":"Approved","bank_status_code":"00","capture_id":"e8e80135-f478-4fb7-b70c-3380a2782dd5","captured_amount":"12.00","message":"Capture successful","processed_at":"2024-11-18T17:47:21","status":"Transaction success","status_code":200,"transaction_id":"2a6c9719-c680-4239-b6a7-f9d6ad2e1f1d","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"CardBrandResponse":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the card brand.","example":"VISA"}},"type":"object","required":["name"],"title":"CardBrandResponse"},"CardResponse":{"properties":{"masked_pan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Masked Pan","description":"Masked card PAN.","example":"411111******1111"},"expired":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expired","description":"Expiration date of the card (MMYY).","example":"1225"},"card_brand":{"anyOf":[{"$ref":"#/components/schemas/CardBrandResponse"},{"type":"null"}],"description":"Details of the card brand."}},"type":"object","title":"CardResponse"},"CompletionResponse":{"properties":{"selected_serial":{"type":"string","title":"Selected Serial"},"selected_ip":{"type":"string","title":"Selected Ip"},"response":{"$ref":"#/components/schemas/SaleInnerResponse"}},"type":"object","required":["selected_serial","selected_ip","response"],"title":"CompletionResponse","description":"Pre-auth completion response (sale with subtype \"completion\")"},"CryptoIndicator":{"type":"string","enum":["CBDC","StableCoin","OtherCryptoToken","NFT"],"title":"CryptoIndicator"},"Customer":{"properties":{"reference":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reference","description":"Merchant customer identifier","examples":["CUSTOMER-45821"]},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email","examples":["igor.ria@example.com"]},"phone":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Phone","examples":["+35700000001"]},"name":{"anyOf":[{"$ref":"#/components/schemas/CustomerName"},{"type":"null"}]}},"type":"object","title":"Customer"},"CustomerName":{"properties":{"first_name":{"type":"string","maxLength":50,"minLength":1,"title":"First Name","examples":["Igo"]},"last_name":{"type":"string","maxLength":50,"minLength":1,"title":"Last Name","examples":["Ria"]}},"type":"object","required":["first_name","last_name"],"title":"CustomerName"},"Dcc":{"properties":{"dccStatus":{"type":"string","title":"Dccstatus","description":"DCC status","example":"ACCEPTED"},"dccData":{"$ref":"#/components/schemas/DccData"}},"type":"object","required":["dccStatus","dccData"],"title":"Dcc"},"DccData":{"properties":{"isoAmount":{"type":"string","title":"Isoamount","description":"ISO amount in minor units","example":"1850"},"isoConversionRate":{"type":"string","title":"Isoconversionrate","description":"ISO conversion rate","example":"71010000"},"conversionRateDate":{"type":"string","format":"date","title":"Conversionratedate","description":"Date of conversion rate","example":"2023-04-18"},"currency":{"type":"string","title":"Currency","description":"Currency code.","example":"USD"}},"type":"object","required":["isoAmount","isoConversionRate","conversionRateDate","currency"],"title":"DccData"},"DeviceFingerprint":{"properties":{"timezone":{"anyOf":[{"type":"string","maxLength":4,"pattern":"^(-?\\d{2,3}|0)$"},{"type":"null"}],"title":"Timezone","example":"330"},"browserColorDepth":{"anyOf":[{"type":"string","maxLength":2,"pattern":"^\\d+$"},{"type":"null"}],"title":"Browsercolordepth","example":"24"},"browserLanguage":{"anyOf":[{"type":"string","maxLength":5,"pattern":"^[a-zA-Z]+(-[a-zA-Z]+)?$"},{"type":"null"}],"title":"Browserlanguage","example":"en-GB"},"browserScreenHeight":{"anyOf":[{"type":"string","maxLength":4,"pattern":"^\\d+$"},{"type":"null"}],"title":"Browserscreenheight","example":"1080"},"browserScreenWidth":{"anyOf":[{"type":"string","maxLength":4,"pattern":"^\\d+$"},{"type":"null"}],"title":"Browserscreenwidth","example":"1920"},"os":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Os","example":"Windows"},"browserAcceptHeader":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Browseracceptheader","example":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*"},"userAgent":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Useragent","example":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"},"browserJavascriptEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Browserjavascriptenabled","example":false},"browserJavaEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Browserjavaenabled","example":true},"acceptContent":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Acceptcontent","example":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3"},"browserIP":{"anyOf":[{"type":"string","maxLength":39,"pattern":"(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))|(^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$)"},{"type":"null"}],"title":"Browserip","example":"192.1.1.1"}},"type":"object","title":"DeviceFingerprint"},"DispatchInfo":{"properties":{"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ended At"},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration"}},"type":"object","title":"DispatchInfo"},"ExternalInitTransaction":{"properties":{"transaction_id":{"type":"string","title":"Transaction Id","description":"Visa's transaction_id or Mastercard's Network_Data","example":"MCCSXTJ9O"},"date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date","description":"Mastercard's Date_settlement","example":"0122"},"tlid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tlid","description":"Mastercard's TLID","example":"7WFe1LqMR1WT3FqPlA_6rQ"}},"type":"object","required":["transaction_id"],"title":"ExternalInitTransaction"},"GetTokenRequest":{"properties":{"authCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authcd","example":"013489"},"rrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrn","example":"503111509114"},"processor_transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processor Transaction Reference","example":"013111360901003093570034609618686879"}},"type":"object","title":"GetTokenRequest"},"GetTokenResponse":{"properties":{"status":{"type":"string","title":"Status","example":"Success"},"status_code":{"type":"integer","title":"Status Code","example":200},"token":{"$ref":"#/components/schemas/TokenListItemResponse"}},"type":"object","required":["status","status_code","token"],"title":"GetTokenResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HppErrorResponse":{"properties":{"status_code":{"type":"integer","title":"Status Code","examples":[404]},"detail":{"type":"string","title":"Detail","examples":["Session not found"]},"message":{"type":"string","title":"Message","examples":["Session not found"]}},"type":"object","required":["status_code","detail","message"],"title":"HppErrorResponse"},"HppSessionCreateRequest":{"properties":{"transaction_reference":{"type":"string","title":"Transaction Reference","description":"Merchant internal transaction reference (5-36 chars, A-Z a-z 0-9 - _). Only one non-final session per reference is allowed.","examples":["agg86094-1338-43a0-1ct4-bt913c156030"]},"transaction_type":{"$ref":"#/components/schemas/TransactionType","default":"purchase"},"is_instant_capture":{"type":"boolean","title":"Is Instant Capture","description":"Capture the full amount automatically right after authorization","default":false},"amount":{"$ref":"#/components/schemas/Amount"},"payment_methods":{"items":{"$ref":"#/components/schemas/PaymentMethod"},"type":"array","maxItems":3,"minItems":1,"title":"Payment Methods"},"customer":{"anyOf":[{"$ref":"#/components/schemas/Customer"},{"type":"null"}]},"billing":{"anyOf":[{"$ref":"#/components/schemas/AddressHolder"},{"type":"null"}]},"shipping":{"anyOf":[{"$ref":"#/components/schemas/AddressHolder"},{"type":"null"}]},"redirect_urls":{"anyOf":[{"$ref":"#/components/schemas/RedirectUrls"},{"type":"null"}],"description":"Where to send the cardholder afterwards. Omit it and Kykeon shows its own hosted result page instead of redirecting"},"billing_details":{"type":"boolean","title":"Billing Details","description":"Ask the cardholder for the billing address on the payment page (used for 3-D Secure). Use it when you do not know the address","default":false},"ui_theme":{"$ref":"#/components/schemas/UiTheme","description":"Colour scheme of the payment page: light (default), dark or auto (follows the device). The cardholder can toggle it","default":"light"},"ui_style":{"$ref":"#/components/schemas/UiStyle","description":"Visual style of the payment page: hitech (default), retro or grunge","default":"hitech"},"locale":{"$ref":"#/components/schemas/Locale","description":"Page language","default":"en"},"description":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Description","description":"Shown to the cardholder on the payment page","examples":["Order #45821"]},"dynamic_descriptor":{"anyOf":[{"type":"string","maxLength":22,"minLength":6},{"type":"null"}],"title":"Dynamic Descriptor","description":"Text placed on the cardholder's bank statement"},"terminal_id":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Terminal Id","description":"Kykeon terminal identity when the merchant has several terminals for the currency","examples":["11000998"]},"expires_in_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires In Seconds","description":"Session lifetime. Default HPP_SESSION_TTL_SECONDS (1 hour)"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata","description":"Up to 20 scalar key/values echoed back in status responses"}},"type":"object","required":["transaction_reference","amount"],"title":"HppSessionCreateRequest"},"HppSessionCreateResponse":{"properties":{"session_id":{"type":"string","title":"Session Id","examples":["hpp_sess_01K50MY9KN7XJEK91K8R53TQPB"]},"transaction_reference":{"type":"string","title":"Transaction Reference"},"status":{"$ref":"#/components/schemas/SessionStatus"},"amount":{"$ref":"#/components/schemas/Amount"},"payment_url":{"type":"string","title":"Payment Url","description":"Redirect the cardholder here (or open it in a full-page window)"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["session_id","transaction_reference","status","amount","payment_url","created_at","expires_at"],"title":"HppSessionCreateResponse"},"HppSessionListResponse":{"properties":{"transaction_reference":{"type":"string","title":"Transaction Reference"},"count":{"type":"integer","title":"Count"},"sessions":{"items":{"$ref":"#/components/schemas/HppSessionStatusResponse"},"type":"array","title":"Sessions"}},"type":"object","required":["transaction_reference","count","sessions"],"title":"HppSessionListResponse"},"HppSessionStatusResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"transaction_reference":{"type":"string","title":"Transaction Reference"},"status":{"$ref":"#/components/schemas/SessionStatus"},"transaction_type":{"$ref":"#/components/schemas/TransactionType"},"is_instant_capture":{"type":"boolean","title":"Is Instant Capture"},"amount":{"$ref":"#/components/schemas/Amount"},"payment_methods":{"items":{"$ref":"#/components/schemas/PaymentMethod"},"type":"array","title":"Payment Methods"},"payment_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Url","description":"Present only while the session is open"},"ui_theme":{"anyOf":[{"$ref":"#/components/schemas/UiTheme"},{"type":"null"}]},"ui_style":{"anyOf":[{"$ref":"#/components/schemas/UiStyle"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"customer_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Reference"},"attempts":{"type":"integer","title":"Attempts","description":"Payment attempts made by the cardholder","default":0},"transaction":{"anyOf":[{"$ref":"#/components/schemas/TransactionInfo"},{"type":"null"}],"description":"Last authorization attempt (present after the cardholder submitted a card)"},"card_token":{"anyOf":[{"$ref":"#/components/schemas/SavedCard"},{"type":"null"}],"description":"Present when the cardholder ticked 'Remember card' and the payment was approved"},"error":{"anyOf":[{"$ref":"#/components/schemas/SessionError"},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"cancelled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cancelled At"}},"type":"object","required":["session_id","transaction_reference","status","transaction_type","is_instant_capture","amount","payment_methods","created_at","expires_at"],"title":"HppSessionStatusResponse"},"Locale":{"type":"string","enum":["en","el","es","de"],"title":"Locale"},"MerchantData-Output":{"properties":{"mId":{"type":"string","title":"Mid","description":"Merchant ID.","example":"62941828"},"tId":{"type":"string","title":"Tid","description":"Terminal ID.","example":"11000998"}},"type":"object","required":["mId","tId"],"title":"MerchantData"},"OnlineResponse":{"properties":{"debits_value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Debits Value"},"num_debits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Debits"},"credits_value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits Value"},"num_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Credits"},"total_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Amount"},"response_text":{"anyOf":[{"$ref":"#/components/schemas/OnlineResponseText"},{"type":"null"}]}},"type":"object","title":"OnlineResponse"},"OnlineResponseText":{"properties":{"display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display"},"receipt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt"}},"type":"object","title":"OnlineResponseText"},"PANEntryMode":{"type":"string","enum":["manual","card_on_file"],"title":"PANEntryMode"},"PaginatedTransactionReportResponse":{"properties":{"total_rows":{"type":"integer","title":"Total Rows"},"total_pages":{"type":"integer","title":"Total Pages"},"current_page":{"type":"integer","title":"Current Page"},"transactions":{"items":{"$ref":"#/components/schemas/TransactionReportResponse"},"type":"array","title":"Transactions"}},"type":"object","required":["total_rows","total_pages","current_page","transactions"],"title":"PaginatedTransactionReportResponse"},"PaymentMethod":{"type":"string","enum":["card","apple_pay","google_pay"],"title":"PaymentMethod"},"PayoutRequest":{"properties":{"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"card_number":{"type":"string","title":"Card Number","description":"Credit card number for pre-authorization.","example":"4005529999000123"},"expiry_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry Date","description":"Expiration date of the card in MM/YY format.","example":"12/31"},"amount":{"type":"string","title":"Amount","description":"Amount to be pre-authorized (as a string).","example":"12.00"},"currency":{"type":"string","title":"Currency","description":"Currency of the transaction.","example":"EUR"},"cardholder_name":{"type":"string","title":"Cardholder Name","description":"Cardholder's name.","example":"John Doe"},"dynamic_descriptor":{"anyOf":[{"type":"string","maxLength":22,"minLength":6},{"type":"null"}],"title":"Dynamic Descriptor","description":"Text that will be placed on cardholder's bank statement","examples":["Sample Text"]},"deviceFingerprint":{"anyOf":[{"$ref":"#/components/schemas/DeviceFingerprint"},{"type":"null"}],"description":"Device fingerprint"},"payer_account_number":{"type":"string","maxLength":34,"title":"Payer Account Number","description":"Sender Account Number","example":"BG41PATC40022312219709"},"payer_first_name":{"anyOf":[{"type":"string","maxLength":35},{"type":"null"}],"title":"Payer First Name","description":"Sender First Name","example":"Igor"},"payer_last_name":{"anyOf":[{"type":"string","maxLength":35},{"type":"null"}],"title":"Payer Last Name","description":"Sender Last Name","example":"Riabushkin"},"payer_full_name":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}],"title":"Payer Full Name","description":"Sender Full Name","example":"Iga Riaboct"},"payer_address":{"type":"string","maxLength":35,"title":"Payer Address","description":"Sender Address","example":"Lemesos Ave 60"},"payer_city":{"type":"string","maxLength":25,"title":"Payer City","description":"Sender City","example":"Nicosia"},"payer_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payer State","description":"Sender state code","example":"AK"},"payer_country":{"type":"string","title":"Payer Country","description":"Sender 3-digit ISO alphabetic country code","example":"CYP"},"payer_postal_code":{"type":"string","maxLength":10,"title":"Payer Postal Code","description":"Sender Postal Code","example":"2014"},"payer_date_of_birth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payer Date Of Birth","description":"Sender date of birth in MMDDYYYY format"},"payee_first_name":{"anyOf":[{"type":"string","maxLength":35},{"type":"null"}],"title":"Payee First Name","description":"Recipient First Name","example":"Igor"},"payee_last_name":{"anyOf":[{"type":"string","maxLength":35},{"type":"null"}],"title":"Payee Last Name","description":"Recipient Last Name","example":"Riabushkin"},"payee_full_name":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}],"title":"Payee Full Name","description":"Recipient Full Name","example":"Iga Riaboct"},"payee_address":{"anyOf":[{"type":"string","maxLength":35},{"type":"null"}],"title":"Payee Address","description":"Recipient Address","example":"Lemesos Ave 60"},"payee_city":{"anyOf":[{"type":"string","maxLength":25},{"type":"null"}],"title":"Payee City","description":"Recipient City","example":"Nicosia"},"payee_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payee State","description":"Recipient state code","example":"AK"},"payee_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payee Country","description":"Recipient 3-digit ISO alphabetic country code","example":"CYP"},"payee_postal_code":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Payee Postal Code","description":"Recipient Postal Code","example":"2014"},"payee_date_of_birth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payee Date Of Birth","description":"Recipient date of birth in MMDDYYYY format"},"payee_phone_number":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Payee Phone Number","description":"Recipient phone number in international format","example":"+35712345678"},"tId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tid","description":"Terminal ID","examples":["11000998"]}},"type":"object","required":["card_number","amount","currency","cardholder_name","payer_account_number","payer_address","payer_city","payer_country","payer_postal_code"],"title":"PayoutRequest","example":{"amount":"12.01","card_number":"5346932100108113","cardholder_name":"John Doe","currency":"EUR","dynamic_descriptor":"Booking Fee","expiry_date":"12/31","payee_address":"Lemesos Ave 60","payee_city":"Cyprus","payee_country":"CYP","payee_date_of_birth":"11151990","payee_first_name":"Igor","payee_full_name":"Igor Riapayout","payee_last_name":"Riapayout","payee_postal_code":"2014","payee_state":"NI","payer_account_number":"BG41PATC40022312219709","payer_address":"Lemesos Ave 60","payer_city":"Cyprus","payer_country":"CYP","payer_date_of_birth":"11151990","payer_first_name":"Ig","payer_full_name":"Ig Riapayout","payer_last_name":"Riapayout","payer_postal_code":"2014","payer_state":"NI"}},"PayoutResponse":{"properties":{"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"status":{"type":"string","title":"Status","description":"The status of the Payout request.","example":"Transaction success"},"message":{"type":"string","title":"Message","description":"A message describing the result of the Payout request.","example":"Payout successful"},"transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Id","description":"A unique identifier for the transaction.","example":"120415164401005769960123433915967345"},"payout_amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payout Amount","description":"The amount that was paid out (as a string).","example":"12.00"},"status_code":{"type":"integer","title":"Status Code","description":"HTTP status code representing the result of the request.","example":200},"processed_at":{"type":"string","format":"date-time","title":"Processed At","description":"Timestamp when the request was processed.","example":"2024-11-18T17:47:21"},"bank_status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Status Code","description":"The status code returned by the bank or payment processor.","example":"00"},"bank_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Status","description":"The status message returned by the bank or payment processor.","example":"Approve"},"rrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrn","description":"RRN.Field 37.","example":"607514207399"},"authorization_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Code","description":"Authorization Code. Field 38","example":"046810"},"system_trace_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Trace Number","description":"STAN. Field 11.","example":"207399"},"processing_code_resp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Code Resp","description":"Processing Code Response. Field 3.","example":"003000"},"card_acceptor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Acceptor Id","description":"Card Acceptor ID. Field 42.","example":"123490570889   "},"transaction_link_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Link Id","description":"Mastercard transaction link ID. DE105.001","example":"v1i08F_WQWe2FPoLPQyoMg"},"host_txid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Txid","description":"Mastercard Network data(DE63) or Visa transaction id (F62.2)","example":"MCCM5ZWFW"}},"type":"object","required":["status","message","status_code","processed_at"],"title":"PayoutResponse","example":{"authorization_code":"046810","authorized_amount":"12.01","bank_status":"Approve","bank_status_code":"00","card_acceptor_id":"123490570889   ","host_txid":"MCCM5ZWFW","message":"Payout successful","processed_at":"2025-04-25T17:47:21","processing_code_resp":"003000","rrn":"607514207399","status":"Transaction success","status_code":200,"system_trace_number":"207399","transaction_id":"120415164401005769960123433915967345","transaction_link_id":"v1i08F_WQWe2FPoLPQyoMg","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"PosAuthPartialReversalRequest":{"properties":{"trxnType":{"type":"string","title":"Trxntype","description":"Transaction type.","example":"REVERSAL"},"trxnDateTime":{"type":"string","title":"Trxndatetime","description":"Local terminal's Date Time of the current reversal transaction in mmddHHMMSS format.","example":"0131113609"},"merchantData":{"$ref":"#/components/schemas/models__posauth_reversal__MerchantData"},"mac":{"type":"string","title":"Mac","description":"Message Authentication Code.","example":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg=="},"trxnAmount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxnamount","description":"Transaction amount in minor units.","example":"1500"},"trxnCcyCd":{"type":"string","title":"Trxnccycd","description":"Currency code of the transaction.","example":"978"},"trxnId":{"type":"string","title":"Trxnid","description":"Unique identifier from the original AUTH transaction that should be reversed or refunded.","example":"120415164401005769960123433915967345"},"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"}},"type":"object","required":["trxnType","trxnDateTime","merchantData","mac","trxnCcyCd","trxnId"],"title":"PosAuthPartialReversalRequest"},"PosAuthPartialReversalResponse":{"properties":{"merchantData":{"$ref":"#/components/schemas/MerchantData-Output"},"trxnAmount":{"type":"string","title":"Trxnamount","description":"Transaction amount in minor units.","example":"1000"},"trxnCcyCd":{"type":"string","title":"Trxnccycd","description":"Currency code of the transaction.","example":"978"},"respCd":{"type":"string","title":"Respcd","description":"Response code of the transaction.","example":"00"},"respMsg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Respmsg","description":"ICC in response message","example":"Approve"},"trxnId":{"type":"string","title":"Trxnid","description":"A unique identifier for the transaction.","example":"120415164401005769960123433915967345"},"authCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authcd","description":"Authorization Identification Response","example":"013489"},"stan":{"type":"string","title":"Stan","description":"System Trace Audit Number","example":"300531"},"rrn":{"type":"string","title":"Rrn","description":"Retrieval Reference Number","example":"503111509114"},"trxnDateTime":{"type":"string","title":"Trxndatetime","description":"Date Time of the transaction.","example":"0131113609"},"mac":{"type":"string","title":"Mac","description":"Message Authentication Code.","example":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="}},"type":"object","required":["merchantData","trxnAmount","trxnCcyCd","respCd","trxnId","stan","rrn","trxnDateTime","mac"],"title":"PosAuthPartialReversalResponse"},"PosAuthRefundRequest":{"properties":{"trxnType":{"type":"string","title":"Trxntype","description":"Transaction type.","example":"REFUND"},"trxnDateTime":{"type":"string","title":"Trxndatetime","description":"Date Time of the transaction.","example":"0131113609"},"merchantData":{"$ref":"#/components/schemas/models__posauth_refund__MerchantData"},"terminalReqData":{"anyOf":[{"$ref":"#/components/schemas/models__posauth__TerminalReqData"},{"type":"null"}]},"cardData":{"anyOf":[{"$ref":"#/components/schemas/models__posauth_refund__CardData"},{"type":"null"}]},"mac":{"type":"string","title":"Mac","description":"Message Authentication Code.","example":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg=="},"trxnAmount":{"type":"string","title":"Trxnamount","description":"Transaction amount in minor units.","example":"1500"},"trxnCcyCd":{"type":"string","title":"Trxnccycd","description":"Currency code of the transaction.","example":"978"},"trxnId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxnid","description":"Unique identifier from the original AUTH transaction that should be reversed or refunded.","example":"120415164401005769960123433915967345"},"parentAuthCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parentauthcd","description":"Parent Authorization Identification Response from PREAUTH for ADJUSTMENT, COMPLETION","example":"013489"},"parentRrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parentrrn","description":"Parent Retrieval Reference Number from PREAUTH for ADJUSTMENT, COMPLETION","example":"503111509114"},"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"}},"type":"object","required":["trxnType","trxnDateTime","merchantData","mac","trxnAmount","trxnCcyCd"],"title":"PosAuthRefundRequest"},"PosAuthRequest":{"properties":{"trxnType":{"type":"string","enum":["PURCHASE","PREAUTH","ADJUSTMENT","COMPLETION","MOTO"],"title":"Trxntype","description":"Transaction type.","example":"PURCHASE"},"trxnDateTime":{"type":"string","title":"Trxndatetime","description":"Date Time of the transaction.","example":"0131113609"},"merchantData":{"$ref":"#/components/schemas/models__posauth__MerchantData"},"terminalReqData":{"anyOf":[{"$ref":"#/components/schemas/models__posauth__TerminalReqData"},{"type":"null"}]},"cardData":{"anyOf":[{"$ref":"#/components/schemas/models__posauth__CardData"},{"type":"null"}]},"mac":{"type":"string","title":"Mac","description":"Message Authentication Code.","example":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg=="},"trxnAmount":{"type":"string","title":"Trxnamount","description":"Transaction amount in minor units.","example":"1500"},"trxnCcyCd":{"type":"string","title":"Trxnccycd","description":"Currency code of the transaction.","example":"978"},"dcc":{"anyOf":[{"$ref":"#/components/schemas/Dcc"},{"type":"null"}]},"addData":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adddata","description":"MASTERCARD DE48 Additional Data","example":"R22100201103011"},"dynamicDescriptor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dynamicdescriptor","description":"Text that will be placed on cardholder's bank statement","example":"Sample Text"},"cashbackTrxnAmount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cashbacktrxnamount","description":"Cashback Transaction amount in minor units.","example":"500"},"cashbackTrxnCcyCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cashbacktrxnccycd","description":"Cashback Currency code of the transaction.","example":"978"},"surchargeTrxnAmount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surchargetrxnamount","description":"Surcharge amount for the transaction in minor units.","example":"300"},"taxTrxnAmount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taxtrxnamount","description":"Tax amount for the transaction in minor units.","example":"200"},"tipTrxnAmount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tiptrxnamount","description":"\tTip amount for the transaction in minor units.","example":"400"},"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"isDeferred":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isdeferred","description":"If the True parameter is passed, the transaction will be processed as a Deferred debit.","example":"True"},"parentAuthCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parentauthcd","description":"Parent Authorization Identification Response from PREAUTH for ADJUSTMENT, COMPLETION","example":"013489"},"parentRrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parentrrn","description":"Parent Retrieval Reference Number from PREAUTH for ADJUSTMENT, COMPLETION","example":"503111509114"},"isTechnicalFallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Istechnicalfallback","description":"For MGS Technical Fallback"}},"type":"object","required":["trxnType","trxnDateTime","merchantData","mac","trxnAmount","trxnCcyCd"],"title":"PosAuthRequest"},"PosAuthResponse":{"properties":{"merchantData":{"$ref":"#/components/schemas/MerchantData-Output"},"mskdPAN":{"type":"string","title":"Mskdpan","description":"Masked PAN.","example":"222360******0011"},"trxnAmount":{"type":"string","title":"Trxnamount","description":"Transaction amount in minor units.","example":"1000"},"trxnCcyCd":{"type":"string","title":"Trxnccycd","description":"Currency code of the transaction.","example":"978"},"respCd":{"type":"string","title":"Respcd","description":"Response code of the transaction.","example":"00"},"respMsg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Respmsg","description":"ICC in response message","example":"Approve"},"icc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icc","description":"Response message of the transaction.","example":"MDEwMDBGOUYzNjAyMDAwMjkxMDhBMUE1N0JERTAwODYwMDAw"},"trxnId":{"type":"string","title":"Trxnid","description":"A unique identifier for the transaction.","example":"120415164401005769960123433915967345"},"authCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authcd","description":"Authorization Identification Response","example":"013489"},"stan":{"type":"string","title":"Stan","description":"System Trace Audit Number","example":"300531"},"rrn":{"type":"string","title":"Rrn","description":"Retrieval Reference Number","example":"503111509114"},"trxnDateTime":{"type":"string","title":"Trxndatetime","description":"Date Time of the transaction.","example":"0131113609"},"mac":{"type":"string","title":"Mac","description":"Message Authentication Code.","example":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="},"addData":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adddata","description":"MASTERCARD DE48 Additional Data","example":"R220504011"},"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"}},"type":"object","required":["merchantData","mskdPAN","trxnAmount","trxnCcyCd","respCd","trxnId","stan","rrn","trxnDateTime","mac"],"title":"PosAuthResponse"},"PosAuthReversalRequest":{"properties":{"trxnType":{"type":"string","title":"Trxntype","description":"Transaction type.","example":"REVERSAL"},"trxnDateTime":{"type":"string","title":"Trxndatetime","description":"Local terminal's Date Time of the current reversal transaction in mmddHHMMSS format.","example":"0131113609"},"merchantData":{"$ref":"#/components/schemas/models__posauth_reversal__MerchantData"},"mac":{"type":"string","title":"Mac","description":"Message Authentication Code.","example":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg=="},"trxnAmount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxnamount","description":"Transaction amount in minor units.","example":"1500"},"trxnCcyCd":{"type":"string","title":"Trxnccycd","description":"Currency code of the transaction.","example":"978"},"trxnId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxnid","description":"Unique identifier from the original AUTH transaction that should be reversed or refunded.","example":"120415164401005769960123433915967345"},"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"terminalReqData":{"anyOf":[{"$ref":"#/components/schemas/models__posauth_reversal__TerminalReqData"},{"type":"null"}]},"cardData":{"anyOf":[{"$ref":"#/components/schemas/models__posauth_reversal__CardData"},{"type":"null"}]},"parentAuthCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parentauthcd","description":"Parent Authorization Identification Response from PREAUTH for ADJUSTMENT, COMPLETION","example":"013489"},"parentRrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parentrrn","description":"Parent Retrieval Reference Number from PREAUTH for ADJUSTMENT, COMPLETION","example":"503111509114"}},"type":"object","required":["trxnType","trxnDateTime","merchantData","mac","trxnCcyCd"],"title":"PosAuthReversalRequest"},"PosAuthReversalResponse":{"properties":{"merchantData":{"$ref":"#/components/schemas/MerchantData-Output"},"trxnAmount":{"type":"string","title":"Trxnamount","description":"Transaction amount in minor units.","example":"1000"},"trxnCcyCd":{"type":"string","title":"Trxnccycd","description":"Currency code of the transaction.","example":"978"},"respCd":{"type":"string","title":"Respcd","description":"Response code of the transaction.","example":"00"},"respMsg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Respmsg","description":"ICC in response message","example":"Approve"},"trxnId":{"type":"string","title":"Trxnid","description":"A unique identifier for the transaction.","example":"120415164401005769960123433915967345"},"authCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authcd","description":"Authorization Identification Response","example":"013489"},"stan":{"type":"string","title":"Stan","description":"System Trace Audit Number","example":"300531"},"rrn":{"type":"string","title":"Rrn","description":"Retrieval Reference Number","example":"503111509114"},"trxnDateTime":{"type":"string","title":"Trxndatetime","description":"Date Time of the transaction.","example":"0131113609"},"mac":{"type":"string","title":"Mac","description":"Message Authentication Code.","example":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="},"mskdPAN":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mskdpan","description":"Masked PAN.","example":"222360******0011"}},"type":"object","required":["merchantData","trxnAmount","trxnCcyCd","respCd","trxnId","stan","rrn","trxnDateTime","mac"],"title":"PosAuthReversalResponse"},"PosOCTRequest":{"properties":{"trxnType":{"type":"string","title":"Trxntype","description":"Transaction type.","example":"PAYMENT"},"trxnDateTime":{"type":"string","title":"Trxndatetime","description":"Date Time of the transaction.","example":"0131113609"},"merchantData":{"$ref":"#/components/schemas/models__posoct__MerchantData"},"terminalReqData":{"$ref":"#/components/schemas/models__posoct__TerminalReqData"},"cardData":{"$ref":"#/components/schemas/models__posoct__CardData"},"mac":{"type":"string","title":"Mac","description":"Message Authentication Code.","example":"QkY2RkQ0RjM3RjQwODI1NERDRTZBN0E3RTE0REZDOUM2OTIzNDVGQTU2QTQ0OUFFQkREREY4MkJBMTE3Q0Y5Qg=="},"trxnAmount":{"type":"string","title":"Trxnamount","description":"Transaction amount in minor units.","example":"1500"},"trxnCcyCd":{"type":"string","title":"Trxnccycd","description":"Currency code of the transaction.","example":"978"},"addData":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adddata","description":"MASTERCARD DE48 Additional Data","example":"R22100201103011"},"dynamicDescriptor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dynamicdescriptor","description":"Text that will be placed on cardholder's bank statement","example":"Sample Text"}},"type":"object","required":["trxnType","trxnDateTime","merchantData","terminalReqData","cardData","mac","trxnAmount","trxnCcyCd"],"title":"PosOCTRequest"},"PosOCTResponse":{"properties":{"merchantData":{"$ref":"#/components/schemas/MerchantData-Output"},"mskdPAN":{"type":"string","title":"Mskdpan","description":"Masked PAN.","example":"222360******0011"},"trxnAmount":{"type":"string","title":"Trxnamount","description":"Transaction amount in minor units.","example":"1000"},"trxnCcyCd":{"type":"string","title":"Trxnccycd","description":"Currency code of the transaction.","example":"978"},"respCd":{"type":"string","title":"Respcd","description":"Response code of the transaction.","example":"00"},"respMsg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Respmsg","description":"ICC in response message","example":"Approve"},"icc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icc","description":"Response message of the transaction.","example":"MDEwMDBGOUYzNjAyMDAwMjkxMDhBMUE1N0JERTAwODYwMDAw"},"trxnId":{"type":"string","title":"Trxnid","description":"A unique identifier for the transaction.","example":"120415164401005769960123433915967345"},"authCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authcd","description":"Authorization Identification Response","example":"013489"},"stan":{"type":"string","title":"Stan","description":"System Trace Audit Number","example":"300531"},"rrn":{"type":"string","title":"Rrn","description":"Retrieval Reference Number","example":"503111509114"},"trxnDateTime":{"type":"string","title":"Trxndatetime","description":"Date Time of the transaction.","example":"0131113609"},"mac":{"type":"string","title":"Mac","description":"Message Authentication Code.","example":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="},"addData":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adddata","description":"MASTERCARD DE48 Additional Data","example":"R220504011"}},"type":"object","required":["merchantData","mskdPAN","trxnAmount","trxnCcyCd","respCd","trxnId","stan","rrn","trxnDateTime","mac"],"title":"PosOCTResponse"},"PreAuthRequest":{"properties":{"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"card_number":{"type":"string","title":"Card Number","description":"Credit card number for pre-authorization.","example":"4005529999000123"},"expiry_date":{"type":"string","title":"Expiry Date","description":"Expiration date of the card in MM/YY format.","example":"12/31"},"amount":{"type":"string","title":"Amount","description":"Amount to be pre-authorized (as a string).","example":"12.00"},"currency":{"type":"string","title":"Currency","description":"Currency of the transaction.","example":"EUR"},"cardholder_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardholder Name","description":"Cardholder's name.","example":"John Doe"},"cvv":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvv","description":"Card CVV for validation.","example":"196"},"cavv":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cavv","description":"CAVV for VISA or AAV for MASTERCARD","example":"AAAAAAAAAAAAAAAAAAAAAAAAAAA="},"series_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Series Type","description":"unscheduled, recurring, variable_amount_recurring or fix_amount_recurring","example":"unscheduled"},"initial_transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Initial Transaction Id","description":"A unique identifier for the INITIAL  transactions FOR recurring or unscheduled (UCOF, Unscheduled Credential on File)","example":"120415164401005769960123433915967345"},"dynamic_descriptor":{"anyOf":[{"type":"string","maxLength":22,"minLength":6},{"type":"null"}],"title":"Dynamic Descriptor","description":"Text that will be placed on cardholder's bank statement","examples":["Sample Text"]},"eci":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eci","description":"Electronic Commerce and Payment Indicator from 3DSecure","example":"05"},"aft":{"anyOf":[{"$ref":"#/components/schemas/AFT"},{"type":"null"}],"description":"Additional financial transfer details."},"deviceFingerprint":{"anyOf":[{"$ref":"#/components/schemas/DeviceFingerprint"},{"type":"null"}],"description":"Device fingerprint"},"ds_transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ds Transaction Id","description":"3DS transaction ID","example":"f38e6948-5388-41a6-bca4-b49723c19437"},"emv_3d_secure_ver":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Emv 3D Secure Ver","description":"EMV 3-D Secure Version","example":"2.2"},"wallet":{"anyOf":[{"$ref":"#/components/schemas/Wallet"},{"type":"null"}],"description":"wallet name","example":"google_pay"},"tavv":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tavv","description":"TAVV Data","example":"MM**********************KA="},"external_init_transaction":{"anyOf":[{"$ref":"#/components/schemas/ExternalInitTransaction"},{"type":"null"}],"description":"Initial transaction data for subsequent transactions"},"is_instant_capture":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Instant Capture","description":"If the parameter is True, then after an pre-auth request, a Capture for the full request amount will be automatically sent","example":false},"tti":{"anyOf":[{"$ref":"#/components/schemas/Tti"},{"type":"null"}],"description":"Transaction Type Identifier"},"crypto_indicator":{"anyOf":[{"$ref":"#/components/schemas/CryptoIndicator"},{"type":"null"}],"description":"Cryptocurrency Indicator for VISA SCI or Mastercard TTI value"},"pan_entry_mode":{"anyOf":[{"$ref":"#/components/schemas/PANEntryMode"},{"type":"null"}],"description":"PAN Entry Mode"},"token":{"anyOf":[{"$ref":"#/components/schemas/Token"},{"type":"null"}],"description":"Additional Token data"},"tId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tid","description":"Terminal ID","examples":["11000998"]},"avs":{"anyOf":[{"$ref":"#/components/schemas/AVS"},{"type":"null"}],"description":"Address Verification Service (AVS) data"}},"type":"object","required":["card_number","expiry_date","amount","currency"],"title":"PreAuthRequest","example":{"aft":{"acceptor_legalname":"LINK4TECH","bai":"AA","recipient_name":"John Doe","sender_account_number":"CY74PATC40021100101122","sender_address":"Street House 123","sender_city":"Nicosia","sender_country":"196","sender_name":"John Doe","sender_postal_code":"12345"},"amount":"12.00","avs":{"address":"60 LEMESOU AVE","postal_code":"2013","service_indicator":"01"},"card_number":"4005529999000123","cardholder_name":"John Doe","cavv":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","currency":"EUR","cvv":"196","eci":"05","expiry_date":"12/31","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"PreAuthResponse":{"properties":{"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"status":{"type":"string","title":"Status","description":"The status of the pre-authentication request.","example":"Transaction success"},"message":{"type":"string","title":"Message","description":"A message describing the result of the pre-authentication.","example":"Pre-authentication successful"},"transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Id","description":"A unique identifier for the transaction.","example":"120415164401005769960123433915967345"},"authorized_amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorized Amount","description":"The amount that was authorized during the pre-authentication (as a string).","example":"12.00"},"status_code":{"type":"integer","title":"Status Code","description":"HTTP status code representing the result of the request.","example":200},"processed_at":{"type":"string","format":"date-time","title":"Processed At","description":"Timestamp when the request was processed.","example":"2024-11-18T17:47:21"},"bank_status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Status Code","description":"The status code returned by the bank or payment processor.","example":"00"},"bank_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Status","description":"The status message returned by the bank or payment processor.","example":"Approve"},"rrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrn","description":"RRN.Field 37.","example":"607514207399"},"authorization_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Code","description":"Authorization Code. Field 38","example":"046810"},"system_trace_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Trace Number","description":"STAN. Field 11.","example":"207399"},"processing_code_resp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Code Resp","description":"Processing Code Response. Field 3.","example":"003000"},"card_acceptor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Acceptor Id","description":"Card Acceptor ID. Field 42.","example":"123490570889   "},"transaction_link_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Link Id","description":"Mastercard transaction link ID. DE105.001","example":"v1i08F_WQWe2FPoLPQyoMg"},"additional_resp_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additional Resp Data","description":"Mastercard Date Settlement. DE15","example":"0511"},"host_txid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Txid","description":"Mastercard Network data(DE63) or Visa transaction id (F62.2)","example":"MCCM5ZWFW"},"validation_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation Code","description":"Visa F62.3","example":"NP "},"avs_response":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avs Response","description":"Mastercard AVS response code returned in DE48 subelement 83. Returned only when AVS data was provided in the request.","examples":["Y"]},"merchant_advice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merchant Advice","description":"Merchant advise code","example":"03"}},"type":"object","required":["status","message","status_code","processed_at"],"title":"PreAuthResponse","example":{"additional_resp_data":"0511","authorization_code":"046810","authorized_amount":"12.00","avs_response":"Y","bank_status":"Approve","bank_status_code":"00","card_acceptor_id":"123490570889   ","host_txid":"MCCM5ZWFW","merchant_advice":"03","message":"Pre-authentication successful","processed_at":"2024-11-18T17:47:21","processing_code_resp":"003000","rrn":"607514207399","status":"Transaction success","status_code":200,"system_trace_number":"207399","transaction_id":"120415164401005769960123433915967345","transaction_link_id":"v1i08F_WQWe2FPoLPQyoMg","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","validation_code":""}},"PreauthResponse":{"properties":{"selected_serial":{"type":"string","title":"Selected Serial"},"selected_ip":{"type":"string","title":"Selected Ip"},"response":{"$ref":"#/components/schemas/SaleInnerResponse"}},"type":"object","required":["selected_serial","selected_ip","response"],"title":"PreauthResponse","description":"Pre-auth transaction response (sale with subtype \"preauth\")"},"PublicBinInfo":{"properties":{"issuer_account_range_low":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer Account Range Low"},"issuer_account_range_high":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer Account Range High"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"card_region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Region"},"issuer_country_iso2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer Country Iso2"},"product_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Category"},"account_funding_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Funding Source"},"commercial_product_indicator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commercial Product Indicator"}},"type":"object","title":"PublicBinInfo"},"RecipientAddress":{"properties":{"line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line1","description":"Recipient's address line"},"line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line2","description":"Visa. Recipient's address line 2"},"street":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Street","description":"Visa. Recipient's street name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","description":"Recipient's city"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code","description":"Recipient's postal code"}},"type":"object","title":"RecipientAddress"},"RecipientInfo":{"properties":{"account_number":{"type":"string","title":"Account Number","description":"Recipient's account number","example":"CY74PATC40021100101122"},"account_number_type":{"$ref":"#/components/schemas/AccountNumberType","description":"Recipient's account number type","example":"IBAN"},"name":{"$ref":"#/components/schemas/RecipientName","description":"Recipient's name."},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Recipient's 3-symbols country code","example":"CYP"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"Recipient's state or province code for USA or Canada","example":"NY"},"address":{"anyOf":[{"$ref":"#/components/schemas/RecipientAddress"},{"type":"null"}],"description":"Recipient's address"}},"type":"object","required":["account_number","account_number_type","name"],"title":"RecipientInfo"},"RecipientName":{"properties":{"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name","description":"Recipient's full name for VISA customers","example":"John Doe"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"Recipient's first name or Business name for Mastercard customers","example":"John"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Recipient's last name or Business name for Mastercard customers","example":"Doe"}},"type":"object","title":"RecipientName"},"ReconciliationInnerResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"transaction":{"$ref":"#/components/schemas/ReconciliationTransaction"}},"type":"object","required":["success","transaction"],"title":"ReconciliationInnerResponse"},"ReconciliationResponse":{"properties":{"selected_serial":{"type":"string","title":"Selected Serial"},"selected_ip":{"type":"string","title":"Selected Ip"},"response":{"$ref":"#/components/schemas/ReconciliationInnerResponse"}},"type":"object","required":["selected_serial","selected_ip","response"],"title":"ReconciliationResponse","description":"Full response wrapper for reconciliation call."},"ReconciliationTransaction":{"properties":{"account_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Number"},"han_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Han Digest"},"amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount"},"amount_other":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount Other"},"tip_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tip Amount"},"total_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Amount"},"app_confirmation_required":{"type":"boolean","title":"App Confirmation Required","default":false},"app_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Label"},"attempted_sources":{"items":{},"type":"array","title":"Attempted Sources"},"attempts_remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attempts Remaining"},"auth_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Code"},"result_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Code"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"online_result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Online Result"},"card_details":{"type":"object","title":"Card Details"},"card_expiry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Expiry"},"currency_scale":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Currency Scale"},"currency_symbol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency Symbol"},"cvm_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvm Mode"},"cvm_result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvm Result"},"dispatch":{"anyOf":[{"$ref":"#/components/schemas/DispatchInfo"},{"type":"null"}]},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration"},"ended_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ended At"},"started_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Started At"},"host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"},"host_module_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Module Name"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"initiator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Initiator"},"input_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Source"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_api":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Api"},"is_contactless":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Contactless"},"is_contactless_transaction_limit_exceeded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Contactless Transaction Limit Exceeded"},"is_deferred_auth":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Deferred Auth"},"is_emv":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Emv"},"is_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fallback"},"is_force_online":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Force Online"},"is_keyed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Keyed"},"is_online":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Online"},"is_online_pin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Online Pin"},"is_offline_pin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Offline Pin"},"is_reversed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Reversed"},"is_sca_single_tap":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sca Single Tap"},"is_signature_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Signature Required"},"issuer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"ksn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ksn"},"last_deferred_auth_attempted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Deferred Auth Attempted At"},"local_totals_before_txn":{"anyOf":[{"$ref":"#/components/schemas/models__tap_relay__LocalTotalsBeforeTxn__2"},{"type":"null"}]},"message_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Message Number"},"num_attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Attempts"},"num_deferred_auth_attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Deferred Auth Attempts"},"online_request":{"anyOf":[{},{"type":"null"}],"title":"Online Request"},"online_response":{"anyOf":[{"$ref":"#/components/schemas/OnlineResponse"},{"type":"null"}]},"pin_block":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pin Block"},"reference_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Number"},"reference_txn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Txn Id"},"services":{"anyOf":[{"$ref":"#/components/schemas/ServicesInfo"},{"type":"null"}]},"session_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Session Number"},"should_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Fallback"},"should_retry":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Retry"},"stan":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stan"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"status_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Details"},"subtype":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtype"},"tags":{"type":"object","title":"Tags"},"terminal_online_decision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terminal Online Decision"},"timeout_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeout Ms"},"type":{"type":"string","enum":["reconciliation"],"const":"reconciliation","title":"Type","default":"reconciliation"}},"type":"object","title":"ReconciliationTransaction"},"RedirectUrls":{"properties":{"success":{"type":"string","title":"Success","examples":["https://merchant.example.com/payment/success"]},"cancel":{"type":"string","title":"Cancel","examples":["https://merchant.example.com/payment/cancel"]},"failure":{"type":"string","title":"Failure","examples":["https://merchant.example.com/payment/failure"]}},"type":"object","required":["success","cancel","failure"],"title":"RedirectUrls"},"RefundRequest":{"properties":{"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Id","description":"The transaction ID from the pre-authorized payment response.","example":"120415164401005769960123433915967345"},"amount":{"type":"string","title":"Amount","description":"Amount to be captured (as a string).","example":"12.00"},"deviceFingerprint":{"anyOf":[{"$ref":"#/components/schemas/DeviceFingerprint"},{"type":"null"}],"description":"Device fingerprint"},"card_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Number","description":"Credit card number for pre-authorization.","example":"4005529999000123"},"expiry_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry Date","description":"Expiration date of the card in MM/YY format.","example":"12/31"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"Currency of the transaction.","example":"EUR"},"dynamic_descriptor":{"anyOf":[{"type":"string","maxLength":22,"minLength":6},{"type":"null"}],"title":"Dynamic Descriptor","description":"Text that will be placed on cardholder's bank statement","examples":["Sample Text"]},"external_init_transaction":{"anyOf":[{"$ref":"#/components/schemas/ExternalInitTransaction"},{"type":"null"}],"description":"Initial authorization transaction data for refund transactions"},"mc_eci":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mc Eci","description":"Electronic Commerce Indicator","example":"216"},"tId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tid","description":"Terminal ID","examples":["11000998"]}},"type":"object","required":["amount"],"title":"RefundRequest"},"RefundResponse":{"properties":{"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"status":{"type":"string","title":"Status","description":"The status of the capture request.","example":"Transaction success"},"message":{"type":"string","title":"Message","description":"A message describing the result of the capture.","example":"Refund successful"},"transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Id","description":"A unique identifier for the transaction.","example":"120415164401005769960123433915967345"},"refunded_amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refunded Amount","description":"The amount that was captured (as a string).","example":"12.00"},"status_code":{"type":"integer","title":"Status Code","description":"HTTP status code representing the result of the request.","example":200},"processed_at":{"type":"string","format":"date-time","title":"Processed At","description":"Timestamp when the request was processed.","example":"2024-11-18T17:47:21"},"bank_status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Status Code","description":"The status code returned by the bank or payment processor.","example":"12345"},"bank_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Status","description":"The status message returned by the bank or payment processor.","example":"Transaction approved"},"rrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrn","description":"RRN.Field 37.","example":"607514207399"},"authorization_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Code","description":"Authorization Code. Field 38","example":"046810"},"system_trace_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Trace Number","description":"STAN. Field 11.","example":"207399"},"processing_code_resp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Code Resp","description":"Processing Code Response. Field 3.","example":"003000"},"card_acceptor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Acceptor Id","description":"Card Acceptor ID. Field 42.","example":"123490570889   "}},"type":"object","required":["status","message","status_code","processed_at"],"title":"RefundResponse","example":{"authorization_code":"046810","bank_status":"Approved","bank_status_code":"00","card_acceptor_id":"123490570889   ","message":"Refund successful","processed_at":"2024-11-18T17:47:21","processing_code_resp":"003000","refunded_amount":"12.00","rrn":"607514207399","status":"Transaction success","status_code":200,"system_trace_number":"207399","transaction_id":"120415164401005769960123433915967345","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030"}},"SaleInnerResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"transaction":{"$ref":"#/components/schemas/SaleTransaction"}},"type":"object","required":["success","transaction"],"title":"SaleInnerResponse"},"SaleResponse":{"properties":{"selected_serial":{"type":"string","title":"Selected Serial"},"selected_ip":{"type":"string","title":"Selected Ip"},"response":{"$ref":"#/components/schemas/SaleInnerResponse"}},"type":"object","required":["selected_serial","selected_ip","response"],"title":"SaleResponse","description":"Sale transaction response"},"SaleTransaction":{"properties":{"account_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Number"},"han_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Han Digest"},"amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount"},"amount_other":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount Other"},"tip_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tip Amount"},"total_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Amount"},"app_confirmation_required":{"type":"boolean","title":"App Confirmation Required","default":false},"app_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Label"},"attempted_sources":{"items":{},"type":"array","title":"Attempted Sources"},"attempts_remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attempts Remaining"},"auth_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Code"},"result_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Code"},"card_details":{"type":"object","title":"Card Details"},"card_expiry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Expiry"},"currency_scale":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Currency Scale"},"currency_symbol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency Symbol"},"cvm_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvm Mode"},"cvm_result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvm Result"},"dispatch":{"anyOf":[{"$ref":"#/components/schemas/DispatchInfo"},{"type":"null"}]},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration"},"started_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ended At"},"host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"},"host_module_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Module Name"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"initiator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Initiator"},"input_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Source"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_api":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Api"},"is_contactless":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Contactless"},"is_contactless_transaction_limit_exceeded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Contactless Transaction Limit Exceeded"},"is_deferred_auth":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Deferred Auth"},"is_emv":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Emv"},"is_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fallback"},"is_force_online":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Force Online"},"is_keyed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Keyed"},"is_online":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Online"},"is_online_pin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Online Pin"},"is_offline_pin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Offline Pin"},"is_reversed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Reversed"},"is_sca_single_tap":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sca Single Tap"},"is_signature_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Signature Required"},"issuer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"ksn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ksn"},"last_deferred_auth_attempted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Deferred Auth Attempted At"},"local_totals_before_txn":{"anyOf":[{"$ref":"#/components/schemas/models__tap_relay__LocalTotalsBeforeTxn__1"},{"type":"null"}]},"message_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Message Number"},"num_attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Attempts"},"num_deferred_auth_attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Deferred Auth Attempts"},"online_request":{"anyOf":[{},{"type":"null"}],"title":"Online Request"},"online_response":{"anyOf":[{},{"type":"null"}],"title":"Online Response"},"online_result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Online Result"},"pin_block":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pin Block"},"reference_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Number"},"reference_txn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Txn Id"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"services":{"anyOf":[{"$ref":"#/components/schemas/ServicesInfo"},{"type":"null"}]},"session_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Session Number"},"should_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Fallback"},"should_retry":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Retry"},"stan":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stan"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"status_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Details"},"subtype":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtype"},"tags":{"type":"object","title":"Tags"},"terminal_online_decision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terminal Online Decision"},"timeout_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeout Ms"},"type":{"type":"string","enum":["sale"],"const":"sale","title":"Type","default":"sale"}},"type":"object","title":"SaleTransaction"},"SaveCardRequest":{"properties":{"card_number":{"type":"string","title":"Card Number","description":"Full PAN (Primary Account Number). Numeric string without spaces.","example":"4111101011111003"},"exp_year":{"type":"string","title":"Exp Year","description":"Card expiration year in YYYY format.","example":"2030"},"exp_month":{"type":"string","title":"Exp Month","description":"Card expiration month MM (01–12).","example":"12"},"cardholder_name":{"type":"string","title":"Cardholder Name","description":"Cardholder name as printed on the card.","example":"JOHN FROG"},"ksn":{"type":"string","title":"Ksn","description":"Optional EMV key sequence number (may be empty).","default":"","example":""},"mid":{"type":"string","title":"Mid","description":"Merchant Identity","example":""},"tid":{"type":"string","title":"Tid","description":"Terminal Identity","default":"","example":""},"transaction_reference":{"type":"string","title":"Transaction Reference","description":"Merchant internal identification","example":""}},"type":"object","required":["card_number","exp_year","exp_month","cardholder_name","mid","transaction_reference"],"title":"SaveCardRequest"},"SaveCardResponse":{"properties":{"status":{"type":"string","title":"Status","example":"Card Saved Successfully"},"status_code":{"type":"integer","title":"Status Code","example":200},"tito_token":{"type":"string","title":"Tito Token","description":"Tokenized card identifier type TITO","example":"996236693436463385"},"uuid_token":{"type":"string","title":"Uuid Token","description":"Tokenized card identifier type UUID","example":"b3386094-1338-43a0-1ct4-bt913c156999"},"transaction_reference":{"type":"string","title":"Transaction Reference","description":"Tokenized card identifier","example":"b3386094-1338-43a0-1ct4-bt913c156999"}},"type":"object","required":["status","status_code","tito_token","uuid_token","transaction_reference"],"title":"SaveCardResponse"},"SavedCard":{"properties":{"tito_token":{"type":"string","title":"Tito Token","description":"18-digit TITO token (use as card_number with pan_entry_mode=card_on_file)","examples":["996236693436463385"]},"uuid_token":{"type":"string","title":"Uuid Token","examples":["b3386094-1338-43a0-9ct4-bt913c156999"]},"masked_pan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Masked Pan","examples":["411110******1003"]},"expiry_month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry Month","examples":["12"]},"expiry_year":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry Year","examples":["2031"]}},"type":"object","required":["tito_token","uuid_token"],"title":"SavedCard"},"ScreenInnerResponse":{"properties":{"scene":{"anyOf":[{"$ref":"#/components/schemas/ScreenScene"},{"type":"null"}]},"success":{"type":"boolean","title":"Success"}},"type":"object","required":["success"],"title":"ScreenInnerResponse"},"ScreenResponse":{"properties":{"selected_serial":{"type":"string","title":"Selected Serial"},"selected_ip":{"type":"string","title":"Selected Ip"},"response":{"$ref":"#/components/schemas/ScreenInnerResponse"}},"type":"object","required":["selected_serial","selected_ip","response"],"title":"ScreenResponse","description":"Screen / UI render response"},"ScreenScene":{"properties":{"path":{"type":"string","title":"Path"},"text":{"type":"string","title":"Text"}},"type":"object","required":["path","text"],"title":"ScreenScene"},"SenderInfo":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Sender's name.","example":"John Doe"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"Sender's address.","example":"Street House 123"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","description":"Sender's city.","example":"Nicosia"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Sender's country code in ISO format","example":"CYP"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"Sender's state for Canada or USA","example":"NY"}},"type":"object","title":"SenderInfo"},"ServicesInfo":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"interchange_rules":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interchange Rules"},"authorization_processing_rules":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Processing Rules"},"range_of_services":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Range Of Services"}},"type":"object","title":"ServicesInfo"},"SessionError":{"properties":{"code":{"type":"string","title":"Code","examples":["3ds_failed"]},"message":{"type":"string","title":"Message","examples":["3-D Secure authentication failed"]}},"type":"object","required":["code","message"],"title":"SessionError"},"SessionStatus":{"type":"string","enum":["open","processing","authorized","captured","declined","failed","expired","cancelled"],"title":"SessionStatus"},"SystemStatusResponse":{"properties":{"nodeA":{"type":"boolean","title":"Nodea"},"nodeB":{"type":"boolean","title":"Nodeb"},"nodeC":{"type":"boolean","title":"Nodec"},"apiPOS":{"type":"boolean","title":"Apipos"},"apiECOM":{"type":"boolean","title":"Apiecom"},"apiFraud":{"type":"boolean","title":"Apifraud"},"apiPortal":{"type":"boolean","title":"Apiportal"}},"type":"object","required":["nodeA","nodeB","nodeC","apiPOS","apiECOM","apiFraud","apiPortal"],"title":"SystemStatusResponse"},"TapRelayAdjustmentRequest":{"properties":{"amount":{"type":"integer","minimum":1.0,"title":"Amount","description":"New pre-authorization amount in minor units (e.g. 1500 = 15.00)"},"reference_txn":{"$ref":"#/components/schemas/TapRelayReferenceTxn","description":"Identifies the pre-authorization to adjust"},"serial":{"type":"string","title":"Serial","description":"If set, execute adjustment on this device serial"}},"type":"object","required":["amount","reference_txn","serial"],"title":"TapRelayAdjustmentRequest","example":{"amount":1500,"reference_txn":{"auth_code":"authcode","rrn":"referencenumber"},"serial":"115251666054"}},"TapRelayAuthorizationObject":{"properties":{"addData":{"anyOf":[{},{"type":"null"}],"title":"Adddata"},"authCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authcd"},"icc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icc"},"mac":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mac"},"merchantData":{"anyOf":[{"$ref":"#/components/schemas/TapRelayOnlineRequestMerchantData"},{"type":"null"}]},"mskdPAN":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mskdpan"},"respCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Respcd"},"respMsg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Respmsg"},"rrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrn"},"stan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stan"},"trxnAmount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxnamount"},"trxnCcyCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxnccycd"},"trxnDateTime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxndatetime"},"trxnId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxnid"}},"additionalProperties":true,"type":"object","title":"TapRelayAuthorizationObject"},"TapRelayCancelRequest":{"properties":{"serial":{"type":"string","title":"Serial","description":"If set, cancel on this device serial"}},"type":"object","required":["serial"],"title":"TapRelayCancelRequest"},"TapRelayCompletionRequest":{"properties":{"amount":{"type":"integer","minimum":1.0,"title":"Amount","description":"Final amount to capture in minor units (e.g. 1500 = 15.00)"},"reference_txn":{"$ref":"#/components/schemas/TapRelayReferenceTxn","description":"Identifies the pre-authorization to complete"},"serial":{"type":"string","title":"Serial","description":"If set, execute completion on this device serial"}},"type":"object","required":["amount","reference_txn","serial"],"title":"TapRelayCompletionRequest","example":{"amount":1500,"reference_txn":{"auth_code":"authcode","rrn":"referencenumber"},"serial":"115251666054"}},"TapRelayCurrentScreenStatusRequest":{"properties":{"serial":{"type":"string","title":"Serial","description":"If set, get Current Screen Status on this device serial"}},"type":"object","required":["serial"],"title":"TapRelayCurrentScreenStatusRequest"},"TapRelayDispatch":{"properties":{"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"title":"Ended At"}},"additionalProperties":true,"type":"object","title":"TapRelayDispatch"},"TapRelayError":{"properties":{"respCd":{"type":"string","title":"Respcd","default":"06","example":"06"},"respMsg":{"type":"string","title":"Respmsg","default":"Invalid or missing API key","example":"Invalid or missing API key"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","default":"Please provide valid API key","example":"Please provide valid API key"}},"type":"object","title":"TapRelayError"},"TapRelayHTTPError":{"properties":{"detail":{"$ref":"#/components/schemas/TapRelayError"}},"type":"object","required":["detail"],"title":"TapRelayHTTPError"},"TapRelayLastTransactionRequest":{"properties":{"serial":{"type":"string","title":"Serial","description":"Last Transaction Status"}},"type":"object","required":["serial"],"title":"TapRelayLastTransactionRequest"},"TapRelayLastTransactionStatusResponse":{"properties":{"account_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Number"},"action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"},"amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount"},"amount_other":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount Other"},"app_confirmation_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"App Confirmation Required"},"app_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Label"},"attempted_sources":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Attempted Sources"},"attempts_remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attempts Remaining"},"auth_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Code"},"card_details":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Card Details"},"card_expiry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Expiry"},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"controller":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Controller"},"currency_scale":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Currency Scale"},"currency_symbol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency Symbol"},"cvm_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvm Mode"},"cvm_result":{"anyOf":[{},{"type":"null"}],"title":"Cvm Result"},"dispatch":{"anyOf":[{"$ref":"#/components/schemas/TapRelayDispatch"},{"type":"null"}]},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"title":"Ended At"},"environment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment"},"han_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Han Digest"},"host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"},"host_module_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Module Name"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"initiator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Initiator"},"input_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Source"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_api":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Api"},"is_contactless":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Contactless"},"is_contactless_transaction_limit_exceeded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Contactless Transaction Limit Exceeded"},"is_deferred_auth":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Deferred Auth"},"is_emv":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Emv"},"is_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fallback"},"is_force_online":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Force Online"},"is_keyed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Keyed"},"is_offline_pin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Offline Pin"},"is_online":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Online"},"is_online_pin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Online Pin"},"is_reversed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Reversed"},"is_sca_single_tap":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sca Single Tap"},"is_signature_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Signature Required"},"issuer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"ksn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ksn"},"last_deferred_auth_attempted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"title":"Last Deferred Auth Attempted At"},"local_totals_before_txn":{"anyOf":[{"$ref":"#/components/schemas/TapRelayLocalTotalsBeforeTxn"},{"type":"null"}]},"message_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Message Number"},"num_attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Attempts"},"num_deferred_auth_attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Deferred Auth Attempts"},"online_request":{"anyOf":[{"$ref":"#/components/schemas/TapRelayOnlineRequest"},{"type":"null"}]},"online_response":{"anyOf":[{"$ref":"#/components/schemas/TapRelayOnlineResponse"},{"type":"null"}]},"online_result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Online Result"},"pin_block":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pin Block"},"reference_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Number"},"reference_txn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Txn Id"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"result_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Code"},"services":{"anyOf":[{"$ref":"#/components/schemas/TapRelayServices"},{"type":"null"}]},"session_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Session Number"},"should_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Fallback"},"should_retry":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Retry"},"stan":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stan"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"status_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Details"},"subtype":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtype"},"tags":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Tags"},"terminal_online_decision":{"anyOf":[{},{"type":"null"}],"title":"Terminal Online Decision"},"timeout_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeout Ms"},"tip_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tip Amount"},"total_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Amount"},"transaction":{"anyOf":[{"$ref":"#/components/schemas/TapRelayTransactionMini"},{"type":"null"}]},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},"additionalProperties":true,"type":"object","title":"TapRelayLastTransactionStatusResponse","description":"Model for Kinetic/TapRelay \"last transaction status\" payload.\nThis is the INNER payload you receive in `response` for /last."},"TapRelayLocalTotalsBeforeTxn":{"properties":{"host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"},"host_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Class"},"session_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Session Total"},"amex_cashbacks_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amex Cashbacks Amount"},"amex_cashbacks_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amex Cashbacks Count"},"amex_credits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amex Credits Amount"},"amex_credits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amex Credits Count"},"amex_debits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amex Debits Amount"},"amex_debits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amex Debits Count"},"amex_tips_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amex Tips Amount"},"amex_tips_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amex Tips Count"},"cashbacks_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cashbacks Amount"},"cashbacks_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cashbacks Count"},"credits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits Amount"},"credits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits Count"},"debits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Debits Amount"},"debits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Debits Count"},"tips_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tips Amount"},"tips_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tips Count"},"diners_cashbacks_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Diners Cashbacks Amount"},"diners_cashbacks_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Diners Cashbacks Count"},"diners_credits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Diners Credits Amount"},"diners_credits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Diners Credits Count"},"diners_debits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Diners Debits Amount"},"diners_debits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Diners Debits Count"},"diners_tips_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Diners Tips Amount"},"diners_tips_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Diners Tips Count"},"mastercard_cashbacks_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mastercard Cashbacks Amount"},"mastercard_cashbacks_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mastercard Cashbacks Count"},"mastercard_credits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mastercard Credits Amount"},"mastercard_credits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mastercard Credits Count"},"mastercard_debits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mastercard Debits Amount"},"mastercard_debits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mastercard Debits Count"},"mastercard_tips_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mastercard Tips Amount"},"mastercard_tips_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mastercard Tips Count"},"visa_cashbacks_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visa Cashbacks Amount"},"visa_cashbacks_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visa Cashbacks Count"},"visa_credits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visa Credits Amount"},"visa_credits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visa Credits Count"},"visa_debits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visa Debits Amount"},"visa_debits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visa Debits Count"},"visa_tips_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visa Tips Amount"},"visa_tips_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visa Tips Count"},"unknown_cashbacks_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unknown Cashbacks Amount"},"unknown_cashbacks_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unknown Cashbacks Count"},"unknown_credits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unknown Credits Amount"},"unknown_credits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unknown Credits Count"},"unknown_debits_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unknown Debits Amount"},"unknown_debits_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unknown Debits Count"},"unknown_tips_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unknown Tips Amount"},"unknown_tips_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unknown Tips Count"}},"additionalProperties":true,"type":"object","title":"TapRelayLocalTotalsBeforeTxn"},"TapRelayOnlineRequest":{"properties":{"cardData":{"anyOf":[{"$ref":"#/components/schemas/TapRelayOnlineRequestCardData"},{"type":"null"}]},"cashbackTrxnCcyCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cashbacktrxnccycd"},"mac":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mac"},"merchantData":{"anyOf":[{"$ref":"#/components/schemas/TapRelayOnlineRequestMerchantData"},{"type":"null"}]},"surchargeTrxnAmount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surchargetrxnamount"},"terminalReqData":{"anyOf":[{"$ref":"#/components/schemas/TapRelayOnlineRequestTerminalReqData"},{"type":"null"}]},"trxnAmount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxnamount"},"trxnCcyCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxnccycd"},"trxnDateTime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxndatetime"},"trxnType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trxntype"}},"additionalProperties":true,"type":"object","title":"TapRelayOnlineRequest"},"TapRelayOnlineRequestCardData":{"properties":{"cardBrnd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardbrnd"},"cardCcyCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardccycd"},"cardCtryCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardctrycd"},"cardNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardnumber"},"cardSeqNum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardseqnum"},"expDate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expdate"},"ksn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ksn"},"mskdPAN":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mskdpan"},"track2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track2"}},"additionalProperties":true,"type":"object","title":"TapRelayOnlineRequestCardData"},"TapRelayOnlineRequestMerchantData":{"properties":{"mId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mid"},"tId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tid"}},"additionalProperties":true,"type":"object","title":"TapRelayOnlineRequestMerchantData"},"TapRelayOnlineRequestTerminalReqData":{"properties":{"entryMode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entrymode"},"icc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icc"},"keyId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyid"}},"additionalProperties":true,"type":"object","title":"TapRelayOnlineRequestTerminalReqData"},"TapRelayOnlineResponse":{"properties":{"authorization_duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Authorization Duration"},"authorization_http_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Authorization Http Status"},"authorization_object":{"anyOf":[{"$ref":"#/components/schemas/TapRelayAuthorizationObject"},{"type":"null"}]},"authorization_received_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"title":"Authorization Received At"},"authorization_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"title":"Authorization Requested At"},"response_text":{"anyOf":[{"$ref":"#/components/schemas/TapRelayOnlineResponseText"},{"type":"null"}]}},"additionalProperties":true,"type":"object","title":"TapRelayOnlineResponse"},"TapRelayOnlineResponseText":{"properties":{"display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display"}},"additionalProperties":true,"type":"object","title":"TapRelayOnlineResponseText"},"TapRelayPreauthRequest":{"properties":{"amount":{"type":"integer","minimum":1.0,"title":"Amount","description":"Pre-authorization amount in minor units (e.g. 1500 = 15.00)"},"txn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Txn Id","description":"Optional transaction id to pass to LINK4TECH (a UUID is generated if omitted)"},"serial":{"type":"string","title":"Serial","description":"If set, execute pre-auth on this device serial"}},"type":"object","required":["amount","serial"],"title":"TapRelayPreauthRequest","example":{"amount":1500,"serial":"115251666054","txn_id":"9f8b1c2e-6d4a-4f0b-9c3e-2a1b0d5e7f68"}},"TapRelayReconciliationRequest":{"properties":{"serial":{"type":"string","title":"Serial","description":"Reconciliation Request"}},"type":"object","required":["serial"],"title":"TapRelayReconciliationRequest"},"TapRelayReferenceTxn":{"properties":{"auth_code":{"type":"string","title":"Auth Code","description":"Authorization code from the original pre-authorization"},"rrn":{"type":"string","title":"Rrn","description":"Retrieval reference number from the original pre-authorization"}},"type":"object","required":["auth_code","rrn"],"title":"TapRelayReferenceTxn"},"TapRelayRefundRequest":{"properties":{"amount":{"type":"integer","minimum":1.0,"title":"Amount","description":"Amount in minor units (e.g. 1000 = 10.00)"},"txn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Txn Id","description":"Optional transaction id to pass to LINK4TECH"},"serial":{"type":"string","title":"Serial","description":"If set, execute sale on this device serial"}},"type":"object","required":["amount","serial"],"title":"TapRelayRefundRequest"},"TapRelayRefundResponse":{"properties":{"selected_serial":{"type":"string","title":"Selected Serial"},"selected_ip":{"type":"string","title":"Selected Ip"},"response":{"type":"object","title":"Response"}},"type":"object","required":["selected_serial","selected_ip","response"],"title":"TapRelayRefundResponse"},"TapRelayReversalRequest":{"properties":{"reference_txn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Txn Id","description":"–\tReference txn_id to pass to LINK4TECH"},"serial":{"type":"string","title":"Serial","description":"If set, execute sale on this device serial"}},"type":"object","required":["serial"],"title":"TapRelayReversalRequest"},"TapRelayReversalResponse":{"properties":{"selected_serial":{"type":"string","title":"Selected Serial"},"selected_ip":{"type":"string","title":"Selected Ip"},"response":{"type":"object","title":"Response"}},"type":"object","required":["selected_serial","selected_ip","response"],"title":"TapRelayReversalResponse"},"TapRelaySaleRequest":{"properties":{"amount":{"type":"integer","minimum":1.0,"title":"Amount","description":"Amount in minor units (e.g. 1000 = 10.00)"},"txn_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Txn Id","description":"Optional transaction id to pass to LINK4TECH"},"serial":{"type":"string","title":"Serial","description":"If set, execute sale on this device serial"}},"type":"object","required":["amount","serial"],"title":"TapRelaySaleRequest"},"TapRelayServices":{"properties":{"authorization_processing_rules":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Processing Rules"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"interchange_rules":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interchange Rules"},"range_of_services":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Range Of Services"}},"additionalProperties":true,"type":"object","title":"TapRelayServices"},"TapRelayTransactionMini":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"total_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Amount"}},"additionalProperties":true,"type":"object","title":"TapRelayTransactionMini"},"ThreeDSInfo":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"transStatus: Y authenticated, A attempted, N/U/R failed","examples":["Y"]},"eci":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eci","examples":["05"]},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version","examples":["2.2.0"]},"flow":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flow","description":"frictionless | challenge | none","examples":["frictionless"]},"ds_transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ds Transaction Id"}},"type":"object","title":"ThreeDSInfo"},"Token":{"properties":{"device_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Type","description":"Device type","example":"00"},"mastercard_assigned_ID":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mastercard Assigned Id","description":"Mastercard Assigned ID"},"assurance_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assurance Method","description":"Token Assurance Method","example":"10"},"requestor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requestor Id","description":"Token Requestor ID"}},"type":"object","title":"Token"},"TokenListItemResponse":{"properties":{"id":{"type":"integer","title":"Id","example":1},"tito_token":{"type":"string","title":"Tito Token","example":"996236693436463385"},"uuid_token":{"type":"string","title":"Uuid Token","example":"b3386094-1338-43a0-1cf4-bt913c156999"},"card_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Card Id","example":125},"transaction_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Transaction Id"},"is_used":{"type":"boolean","title":"Is Used","example":false},"masked_pan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Masked Pan","example":"518552******0016"},"expired":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expired","example":"3512"}},"type":"object","required":["id","tito_token","uuid_token","is_used"],"title":"TokenListItemResponse"},"TokenPayInRequest":{"properties":{"amount":{"type":"string","title":"Amount","description":"Transaction amount in major units as decimal string","example":"10.01"},"currency":{"type":"string","title":"Currency","description":"ISO 4217 currency code","example":"EUR"},"token_id":{"type":"string","title":"Token Id","description":"Tokenized card identifier","example":"agg86094-1338-43a0-1ct4-bt913c156030"}},"type":"object","required":["amount","currency","token_id"],"title":"TokenPayInRequest","example":{"currency":"EUR","token_id":"996236693436463385","txnAmount":"10.01"}},"TokenPayInResponse":{"properties":{"merchantData":{"$ref":"#/components/schemas/MerchantData-Output"},"mskdPAN":{"type":"string","title":"Mskdpan","description":"Masked PAN.","example":"222360******0011"},"trxnAmount":{"type":"string","title":"Trxnamount","description":"Transaction amount in minor units.","example":"1000"},"trxnCcyCd":{"type":"string","title":"Trxnccycd","description":"Currency code of the transaction.","example":"978"},"respCd":{"type":"string","title":"Respcd","description":"Response code of the transaction.","example":"00"},"respMsg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Respmsg","description":"ICC in response message","example":"Approve"},"icc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icc","description":"Response message of the transaction.","example":"MDEwMDBGOUYzNjAyMDAwMjkxMDhBMUE1N0JERTAwODYwMDAw"},"trxnId":{"type":"string","title":"Trxnid","description":"A unique identifier for the transaction.","example":"120415164401005769960123433915967345"},"authCd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authcd","description":"Authorization Identification Response","example":"013489"},"stan":{"type":"string","title":"Stan","description":"System Trace Audit Number","example":"300531"},"rrn":{"type":"string","title":"Rrn","description":"Retrieval Reference Number","example":"503111509114"},"trxnDateTime":{"type":"string","title":"Trxndatetime","description":"Date Time of the transaction.","example":"0131113609"},"mac":{"type":"string","title":"Mac","description":"Message Authentication Code.","example":"OUE5RUMxNTY3RDY2RjgzMDM3MjI1MEQ5QkY2MDc2QUM4RUIyQ0VBNzgzQTA0QTMwQzU1QkNFQThBM0Y4QjI0OA=="},"addData":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adddata","description":"MASTERCARD DE48 Additional Data","example":"R220504011"},"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"}},"type":"object","required":["merchantData","mskdPAN","trxnAmount","trxnCcyCd","respCd","trxnId","stan","rrn","trxnDateTime","mac"],"title":"TokenPayInResponse"},"TokenPayoutRequest":{"properties":{"amount":{"type":"string","title":"Amount","description":"Transaction amount in major units as decimal string","example":"10.01"},"currency":{"type":"string","title":"Currency","description":"ISO 4217 currency code","example":"EUR"},"token_id":{"type":"string","title":"Token Id","description":"Tokenized card identifier","example":"996236693436463385"}},"type":"object","required":["amount","currency","token_id"],"title":"TokenPayoutRequest","example":{"currency":"EUR","token_id":"996236693436463385","txnAmount":"10.01"}},"TokenPayoutResponse":{"properties":{"status_code":{"type":"integer","title":"Status Code","description":"HTTP-like status code","example":200},"status":{"type":"string","title":"Status","description":"Human-readable transaction status","example":"Transaction Successful"},"amount":{"type":"string","title":"Amount","description":"Final settled amount (after conversion / fees)","example":"7.89"},"transaction_id":{"type":"string","title":"Transaction Id","description":"Unique transaction identifier","example":"112109074601004227550123432609182310"}},"type":"object","required":["status_code","status","amount","transaction_id"],"title":"TokenPayoutResponse","example":{"amount":"7.89","status":"Transaction Successful","status_code":200,"transaction_id":"112109074601004227550123432609182310"}},"TransactionInfo":{"properties":{"transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Id","description":"Kykeon transaction id - use it with /ecomapi/capture, /void, /refund, /transactionstatus","examples":["120415164401005769960123433915967345"]},"status":{"type":"string","title":"Status","description":"authorized | captured | declined | failed","examples":["authorized"]},"authorization_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Code","examples":["123456"]},"rrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrn","examples":["625212345678"]},"response_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Code","description":"Issuer response code (ISO 8583 DE39)","examples":["00"]},"response_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Message","examples":["Approve"]},"authorized_amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorized Amount","examples":["125.00"]},"processed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Processed At"},"masked_pan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Masked Pan","examples":["411110******1003"]},"card_brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Brand","examples":["VISA"]},"three_ds":{"anyOf":[{"$ref":"#/components/schemas/ThreeDSInfo"},{"type":"null"}]}},"type":"object","required":["status"],"title":"TransactionInfo"},"TransactionMastercardPurpose":{"type":"string","enum":["Family_Support","Regular_Labor_Transfers","Travel_Tourism","Education","Hospitalization_Medical_Treatment","Emergency_Need","Savings","Gifts","Other","Salary","Crowd_lending","Crypto_currency","Refund_to_original_card","Refund_to_new_card","High_Risk_Securities","Recycling_Deposit_Return","Value_Added_Tax_Payment"],"title":"TransactionMastercardPurpose"},"TransactionReportRequest":{"properties":{"merchant_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Merchant Id","description":"Merchant ID must be a positive integer."},"terminal_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Terminal Id","description":"Terminal ID must be a positive integer."},"date_from":{"type":"string","format":"date","title":"Date From","description":"Start date for the report. Cannot be in the future."},"date_to":{"type":"string","format":"date","title":"Date To","description":"End date for the report. Must be greater than or equal to `date_from`."}},"type":"object","required":["merchant_id","terminal_id","date_from","date_to"],"title":"TransactionReportRequest"},"TransactionReportResponse":{"properties":{"id":{"type":"integer","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"processor_transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processor Transaction Reference"},"amount":{"type":"number","title":"Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"masked_pan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Masked Pan"},"rrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrn"},"sale_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Reference"},"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference"},"system_trace_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Trace Number"},"authorization_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Code"},"payment_provider_transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Provider Transaction Id"},"is_settled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Settled"},"e_comm_possible_capture_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"E Comm Possible Capture Amount"},"e_comm_total_amount_captured":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"E Comm Total Amount Captured"},"e_comm_is_captured":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"E Comm Is Captured"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Code"},"errors":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Errors"},"velocity_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Velocity Description"},"tx_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Type"},"reversed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reversed"},"reverse_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reverse Type"},"original_processor_transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Processor Transaction Reference"},"batch_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Id"},"batch_closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Batch Closed At"},"terminal_identity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terminal Identity"},"pan_entry_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pan Entry Mode"},"auth_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Method"},"card_entry_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Entry Mode"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"terminal_local_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Terminal Local Time"},"merchant_legal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merchant Legal Name"},"mcc_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcc Code"},"bin_visa":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bin Visa"},"is_dsecure":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Dsecure"},"cof_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cof Type"},"central_processing_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Central Processing Date"},"conversion_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversion Date"},"fee_descriptor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fee Descriptor"},"fee_program_indicator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fee Program Indicator"},"funds_transfer_sre_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Funds Transfer Sre Id"},"interchange_fee_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Interchange Fee Amount"},"interchange_fee_sign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interchange Fee Sign"},"leaf_level_sre_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Leaf Level Sre Id"},"rate_table_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rate Table Id"},"reclassification_indicator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reclassification Indicator"},"settlement_amount_interchange":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Settlement Amount Interchange"},"settlement_amount_sign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Amount Sign"},"settlement_currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Currency"},"settlement_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Date"},"settlement_flag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Flag"},"settlement_service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Service Id"},"source_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Source Amount"},"source_currency_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Currency Code"},"source_identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Identifier"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"issuer_country_iso2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer Country Iso2"},"card_region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Region"},"card_country_iso2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Country Iso2"},"regional_routing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regional Routing"},"account_funding_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Funding Source"}},"type":"object","required":["id","created_at","amount"],"title":"TransactionReportResponse"},"TransactionResponse":{"properties":{"id":{"type":"integer","title":"Id","description":"Unique identifier for the transaction.","example":5280},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the transaction was created.","example":"2024-11-20T18:37:47.889787Z"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Timestamp when the transaction was last updated.","example":"2024-11-20T18:37:48.789397Z"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"Timestamp when the transaction was completed.","example":"2024-11-20T18:37:48.306917Z"},"amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amount","description":"The transaction amount.","example":"12.00"},"rrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrn","description":"Reference Retrieval Number (RRN) for the transaction.","example":"432520994954"},"sale_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Reference","description":"Unique sale reference for the transaction.","example":"052934"},"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Transaction reference ID.","example":"614237"},"status":{"type":"string","title":"Status","description":"Current status of the transaction.","example":"Approve"},"status_code":{"type":"string","title":"Status Code","description":"Status code for the transaction.","example":"00"},"errors":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Errors","description":"Error details, if any."},"tx_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Type","description":"Type of the transaction (e.g., sale, refund).","example":"sale"},"order_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Number","description":"Order number associated with the transaction."},"authorization_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Code","description":"Authorization code from the host.","example":"026827"},"host_txid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Txid","description":"Host transaction ID.","example":"432520994954"},"host_response_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Response Status","description":"Host response status.","example":"Approve"},"host_response_status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Response Status Code","description":"Host response status code.","example":"00"},"host_amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Amount","description":"Amount approved by the host.","example":"12.00"},"host_currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Currency","description":"Currency approved by the host.","example":"EUR"},"reversed":{"type":"boolean","title":"Reversed","description":"Indicates if the transaction was reversed.","example":false},"batch_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Id","description":"Batch ID associated with the transaction.","example":293},"card_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Card Id","description":"Card ID used in the transaction.","example":4665},"currency_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Currency Id","description":"Currency ID used in the transaction.","example":2},"terminal_id":{"type":"integer","title":"Terminal Id","description":"Terminal ID used for the transaction.","example":7},"original_transaction_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Original Transaction Id","description":"ID of the original transaction for linked transactions."},"pan_entry_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pan Entry Mode","description":"PAN (Primary Account Number) entry mode.","example":"MANU"},"calculated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Calculated At","description":"Timestamp when the transaction was calculated.","example":"2024-11-20T18:37:48.789336Z"},"calculated":{"type":"boolean","title":"Calculated","description":"Indicates if the transaction calculation was completed.","example":true},"auth_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Method","description":"Authorization method used for the transaction.","example":"NOCVM"},"entry_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entry Mode","description":"Entry mode of the card."},"system_trace_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Trace Number","description":"System trace number for the transaction.","example":"474441"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id","description":"Session ID for the transaction.","example":"f50ebee4-9205-4e46-9a5d-d839e29ca26d"},"provider":{"type":"string","title":"Provider","description":"Provider of the transaction (e.g., Visa, Mastercard).","example":"visa"},"velocity_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Velocity Description","description":"Description of the velocity rule triggered, if any."},"velocity_rule_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Velocity Rule Id","description":"ID of the velocity rule triggered."},"terminal_created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Terminal Created At","description":"Terminal timestamp when the transaction was created."},"terminal_local_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Terminal Local Time","description":"Terminal's local time for the transaction."},"mti":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mti","description":"Message Type Indicator (MTI) for the transaction.","example":"0100"},"processing_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Code","description":"Processing code for the transaction.","example":"000000"},"card_acceptor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Acceptor Id","description":"Card acceptor ID for the transaction.","example":"LINK4TECH      "},"vip_private_usage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vip Private Usage","description":"VIP private usage information.","example":"8000000002"},"custom_payment_service":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Payment Service","description":"Custom payment service information.","example":"8000000000000000E8"},"additional_pos_inf":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additional Pos Inf","description":"Additional Point of Sale (POS) information.","example":"0900000005"},"pos_entry_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pos Entry Mode","description":"POS entry mode.","example":"0100"},"icc_data_resp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icc Data Resp","description":"Response from the Integrated Circuit Card (ICC)."},"processing_code_resp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Code Resp","description":"Processing code from the response.","example":"003000"},"custom_payment_service_resp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Payment Service Resp","description":"Response from the custom payment service.","example":"E000020000000000D50304325670685680D5D74040C140"},"icc_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icc Data","description":"Integrated Circuit Card (ICC) data."},"additional_resp_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additional Resp Data","description":"Additional response data.","example":"V         M   2"},"pos_condition_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pos Condition Mode","description":"POS condition mode.","example":"59"},"vip_private_usage_resp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vip Private Usage Resp","description":"Response for VIP private usage.","example":"8000000002"},"processor_transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processor Transaction Reference","description":"Processor's transaction reference.","example":"112020374701004744410123432520994954"},"card":{"anyOf":[{"$ref":"#/components/schemas/CardResponse"},{"type":"null"}],"description":"Card details associated with the transaction."},"transaction_link_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Link Id","description":"Mastercard Transaction Link ID associated with the transaction.","example":"0-F7yi2GQLu4IeftHcxEUw"},"validation_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation Code","description":"Visa F62.3","example":"NP "}},"type":"object","required":["id","created_at","updated_at","status","status_code","reversed","terminal_id","calculated","provider"],"title":"TransactionResponse"},"TransactionStatusRequest":{"properties":{"transaction_id":{"type":"string","title":"Transaction Id","description":"Processor's transaction reference.","example":"120415164401005769960123433915967345"}},"type":"object","required":["transaction_id"],"title":"TransactionStatusRequest"},"TransactionType":{"type":"string","enum":["purchase","preauth"],"title":"TransactionType"},"TransactionVisaPurpose":{"type":"string","enum":["Account_management","Air_transport_related_business","Transaction_is_the_payment_of_allowance","Settlement_of_annuity","Unemployment_disability_benefit","Business_expenses","Bonus_payment","Bus_transport_related_business","Cash_management_transfer","Payment_of_cable_TV_bill","Government_institute_issued_related_to_cash_compensation_helplessness_disability","Credit_card_payment","Payment_of_credit_card_bill","Payment_for_charity_reasons","Collection_payment","Commercial_payment","Commission","Compensation_relating_to_interest_loss_value_date_adjustment_and_can_include_fees","Payment_of_copyright","Related_to_a_debit_card_payment","Payment_of_a_deposit","Payment_of_dividend","Payment_of_study_tuition_fees","Payment_of_electricity_bill","Energies","General_fees","Payment_for_ferry_related_business","Foreign_exchange","Payment_of_gas_bill","Compensation_to_unemployed_persons_during_insolvency_procedures","Government_payment","Health_insurance","Reimbursement_of_credit_card_payment","Reimbursement_of_debit_card_payment","Payment_of_car_insurance_premium","Transaction_is_related_to_the_payment_of_an_insurance_claim","Installment","Insurance_premium","Intra_company_payment","Interest","Income_tax","Investment_products_and_shares","Labor_insurance","License_fee","Life_insurance","Loan","Hospitalization_Medical_Treatment","Mobile_P2B_payment","Mobile_P2P_payment","Mobile_top_up","Not_otherwise_specified","Other","Transaction_is_related_to_a_payment_of_other_telecom_related_bill","Payroll","Contribution_to_pension_fund","Pension_payment","Payment_of_telephone_bill","Property_insurance","Transaction_is_for_general_rental_lease","The_payment_of_rent","Payment_for_railway_transport_related_business","Royalties","Salary","Payment_to_savings_retirement_account","Securities","Social_security_benefit","Education","Subscription","Supplier_payment","Refund_of_a_tax_payment_or_obligation","Tax_payment","Transaction_is_related_to_a_payment_of_telecommunications_related_bill","Trade_services_operation","Treasury_payment","Travel_Tourism","Utility_bill_payment","Value_added_tax_payment","Withholding","Payment_of_water_bill"],"title":"TransactionVisaPurpose"},"Tti":{"type":"string","enum":["C02","C03","C04","C07","C51","C52","C53","C54","C55","C56","C57","C58","C59","C60","C61","C62","C63","C64","C65","C66","C67","C68","C91","C92","C93","C94","F07","F08","F52","F53","F54","F55","F61","F64","F65","P01","P10","P11","P70","P71","P72","P76"],"title":"Tti"},"UiStyle":{"type":"string","enum":["hitech","retro","grunge"],"title":"UiStyle"},"UiTheme":{"type":"string","enum":["light","dark","auto"],"title":"UiTheme"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VoidRequest":{"properties":{"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"transaction_id":{"type":"string","title":"Transaction Id","description":"The transaction ID from the pre-authorized payment response.","example":"120415164401005769960123433915967345"}},"type":"object","required":["transaction_id"],"title":"VoidRequest"},"VoidResponse":{"properties":{"transaction_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference","description":"Merchant internal transaction reference","example":"agg86094-1338-43a0-1ct4-bt913c156030"},"status":{"type":"string","title":"Status","description":"The status of the capture request.","example":"Transaction success"},"message":{"type":"string","title":"Message","description":"A message describing the result of the capture.","example":"Void successful"},"transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Id","description":"A unique identifier for the transaction.","example":"120415164401005769960123433915967345"},"voided_amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voided Amount","description":"The amount that was captured (as a string).","example":"12.00"},"status_code":{"type":"integer","title":"Status Code","description":"HTTP status code representing the result of the request.","example":200},"processed_at":{"type":"string","format":"date-time","title":"Processed At","description":"Timestamp when the request was processed.","example":"2024-11-18T17:47:21"},"bank_status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Status Code","description":"The status code returned by the bank or payment processor.","example":"12345"},"bank_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Status","description":"The status message returned by the bank or payment processor.","example":"Transaction approved"},"rrn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrn","description":"RRN.Field 37.","example":"607514207399"},"authorization_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Code","description":"Authorization Code. Field 38","example":"046810"},"system_trace_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Trace Number","description":"STAN. Field 11.","example":"207399"},"processing_code_resp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Code Resp","description":"Processing Code Response. Field 3.","example":"003000"},"card_acceptor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Acceptor Id","description":"Card Acceptor ID. Field 42.","example":"123490570889   "}},"type":"object","required":["status","message","status_code","processed_at"],"title":"VoidResponse","example":{"authorization_code":"046810","bank_status":"Approved","bank_status_code":"00","card_acceptor_id":"123490570889   ","message":"Void successful","processed_at":"2024-11-18T17:47:21","processing_code_resp":"003000","rrn":"607514207399","status":"Transaction success","status_code":200,"system_trace_number":"207399","transaction_id":"120415164401005769960123433915967345","transaction_reference":"agg86094-1338-43a0-1ct4-bt913c156030","voided_amount":"12.00"}},"Wallet":{"type":"string","enum":["google_pay","apple_pay","merchant"],"title":"Wallet"},"WebhookCreateRequest":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"Webhook subscription unique identifier."},"webhook_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webhook Id","description":"Webhook unique identifier (alias for id)."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"Timestamp when the webhook subscription was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"Timestamp when the webhook subscription was last updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"Timestamp when the webhook subscription was deleted (soft delete)."},"merchant_identity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merchant Identity","description":"Merchant unique identifier."},"secret_key_encrypted":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret Key Encrypted","description":"Encrypted secret key used to sign webhook payloads."},"terminal_identity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terminal Identity","description":"Terminal unique identifier. Optional, if webhook is configured on terminal level.","example":"11000998"},"url":{"type":"string","minLength":1,"format":"uri","title":"Url","description":"Merchant webhook endpoint URL.","example":"https://merchant.example.com/webhooks/kykeon"},"event_type":{"$ref":"#/components/schemas/WebhookEventType","description":"Event type that will trigger this webhook.","example":"sale"},"is_active":{"type":"boolean","title":"Is Active","description":"If false, webhook will not be called.","default":true,"example":true},"max_retries":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Max Retries","description":"Maximum number of retry attempts on failure.","default":3,"example":3},"timeout_ms":{"type":"integer","maximum":30000.0,"minimum":500.0,"title":"Timeout Ms","description":"Timeout for webhook HTTP call in milliseconds.","default":3000,"example":3000},"filters":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Filters","description":"Event-type-specific additional matching parameters. Allowed keys depend on event_type (e.g. amount_ge/amount_le for transaction events).","example":{"amount_ge":"10.00","amount_le":"999.99"}},"extra_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Extra Headers","description":"Additional HTTP headers to send with webhook request.","example":{"X-Merchant-Id":"62552880"}},"secret_key":{"anyOf":[{"type":"string","maxLength":128,"minLength":16},{"type":"null"}],"title":"Secret Key","description":"Secret used to sign webhook payloads. If omitted at creating webhook, server will generate it automatically.","example":"c4c99b8c8a8d4b1bb5f5189bd6e23da0"}},"additionalProperties":false,"type":"object","required":["url","event_type"],"title":"WebhookCreateRequest","example":{"event_type":"sale","extra_headers":{"X-Merchant-Id":"62552880"},"is_active":true,"max_retries":3,"secret_key":"c4c99b8c8a8d4b1bb5f5189bd6e23da0","terminal_identity":"11000998","timeout_ms":3000,"url":"https://merchant.example.com/webhooks/kykeon"}},"WebhookDeliveryDetails":{"properties":{"delivery_id":{"type":"integer","title":"Delivery Id","description":"Webhook delivery unique identifier.","example":100001},"webhook_id":{"type":"string","format":"uuid","title":"Webhook Id","description":"Webhook subscription public UUID identifier.","example":"5c8f5e56-46b3-4b37-9b37-7bb4a786c21c"},"merchant_identity":{"type":"string","title":"Merchant Identity","description":"Merchant unique identifier.","example":"62552880"},"terminal_identity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terminal Identity","description":"Terminal unique identifier.","example":"11000998"},"event_type":{"$ref":"#/components/schemas/WebhookEventType","description":"Webhook event type.","example":"sale"},"entity_type":{"type":"string","title":"Entity Type","description":"Entity type related to the event.","example":"transaction"},"entity_id":{"type":"string","title":"Entity Id","description":"Entity unique identifier.","example":"TXN_120415164401005769960123433915967345"},"event_key":{"type":"string","title":"Event Key","description":"Idempotency key of the event.","example":"transaction:TXN_120415164401005769960123433915967345:sale"},"payload":{"type":"object","title":"Payload","description":"Webhook payload that was or will be delivered."},"status":{"$ref":"#/components/schemas/WebhookDeliveryStatus","description":"Webhook delivery status.","example":"pending"},"attempt_count":{"type":"integer","title":"Attempt Count","description":"Current number of delivery attempts.","example":0},"next_retry_at":{"type":"string","format":"date-time","title":"Next Retry At","description":"Datetime when next retry is scheduled.","example":"2026-03-16T10:15:30Z"},"last_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Attempt At","description":"Datetime of the last delivery attempt."},"delivered_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Delivered At","description":"Datetime when delivery was successful."},"last_http_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Http Status","description":"Last HTTP status received from merchant endpoint.","example":200},"last_response_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Response Body","description":"Last HTTP response body received from merchant endpoint.","example":"{\"status\":\"ok\"}"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error","description":"Last delivery error message."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Delivery row creation timestamp.","example":"2026-03-16T10:15:30Z"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Delivery row update timestamp.","example":"2026-03-16T10:15:30Z"}},"additionalProperties":false,"type":"object","required":["delivery_id","webhook_id","merchant_identity","event_type","entity_type","entity_id","event_key","payload","status","attempt_count","next_retry_at","created_at","updated_at"],"title":"WebhookDeliveryDetails"},"WebhookDeliveryOperationResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Human readable operation status.","example":"Webhook delivery loaded successfully"},"status_code":{"type":"integer","title":"Status Code","description":"HTTP-like status code for operation.","example":200},"delivery_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Delivery Id","description":"Webhook delivery unique identifier.","example":100001},"delivery":{"anyOf":[{"$ref":"#/components/schemas/WebhookDeliveryDetails"},{"type":"null"}],"description":"Webhook delivery details."}},"additionalProperties":false,"type":"object","required":["status","status_code"],"title":"WebhookDeliveryOperationResponse"},"WebhookDeliveryStatus":{"type":"string","enum":["pending","processing","delivered","retry","failed"],"title":"WebhookDeliveryStatus"},"WebhookDetails":{"properties":{"webhook_id":{"type":"string","format":"uuid","title":"Webhook Id","description":"Public webhook UUID identifier.","example":"5c8f5e56-46b3-4b37-9b37-7bb4a786c21c"},"merchant_identity":{"type":"string","title":"Merchant Identity","description":"Merchant unique identifier.","example":"62552880"},"terminal_identity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terminal Identity","description":"Terminal unique identifier.","example":"11000998"},"url":{"type":"string","minLength":1,"format":"uri","title":"Url","description":"Merchant webhook endpoint URL.","example":"https://merchant.example.com/webhooks/kykeon"},"event_type":{"$ref":"#/components/schemas/WebhookEventType","description":"Event type that will trigger this webhook.","example":"sale"},"is_active":{"type":"boolean","title":"Is Active","description":"If false, webhook will not be called.","default":true,"example":true},"max_retries":{"type":"integer","title":"Max Retries","description":"Maximum number of retry attempts on failure.","example":3},"timeout_ms":{"type":"integer","title":"Timeout Ms","description":"Timeout for webhook HTTP call in milliseconds.","example":3000},"filters":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Filters","description":"Event-type-specific additional matching parameters.","example":{"amount_ge":"10.00","amount_le":"999.99"}},"extra_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Extra Headers","description":"Additional HTTP headers to send with webhook request.","example":{"X-Merchant-Id":"62552880"}},"has_secret_key":{"type":"boolean","title":"Has Secret Key","description":"Indicates whether a secret key exists for this webhook.","example":true},"secret_key_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret Key Masked","description":"Masked secret key representation.","example":"************************23da0"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Webhook creation timestamp.","example":"2026-03-16T10:15:30Z"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Webhook last update timestamp.","example":"2026-03-16T10:15:30Z"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"Webhook soft delete timestamp."}},"additionalProperties":false,"type":"object","required":["webhook_id","merchant_identity","url","event_type","max_retries","timeout_ms","has_secret_key","created_at","updated_at"],"title":"WebhookDetails"},"WebhookEventType":{"type":"string","enum":["sale","preauth","adjustment","completion","subscription","chargeback","reversal","void","refund","payout","capture","cleared","settled"],"title":"WebhookEventType"},"WebhookOperationResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Human readable operation status.","example":"Webhook created successfully"},"status_code":{"type":"integer","title":"Status Code","description":"HTTP-like status code for operation.","example":200},"webhook_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webhook Id","description":"Public webhook UUID identifier.","example":"5c8f5e56-46b3-4b37-9b37-7bb4a786c21c"},"webhook":{"anyOf":[{"$ref":"#/components/schemas/WebhookDetails"},{"type":"null"}],"description":"Webhook object for GET/CREATE/UPDATE responses."}},"additionalProperties":false,"type":"object","required":["status","status_code"],"title":"WebhookOperationResponse","example":{"status":"Webhook created successfully","status_code":200,"webhook":{"created_at":"2026-03-16T10:15:30Z","event_type":"sale","extra_headers":{"X-Merchant-Id":"62552880"},"has_secret_key":true,"is_active":true,"max_retries":3,"merchant_identity":"62552880","secret_key_masked":"************************23da0","terminal_identity":"11000998","timeout_ms":3000,"updated_at":"2026-03-16T10:15:30Z","url":"https://merchant.example.com/webhooks/kykeon","webhook_id":"5c8f5e56-46b3-4b37-9b37-7bb4a786c21c"},"webhook_id":"5c8f5e56-46b3-4b37-9b37-7bb4a786c21c"}},"WebhookTestResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Human readable operation status.","example":"Test webhook delivered successfully"},"status_code":{"type":"integer","title":"Status Code","description":"HTTP-like status code for operation.","example":200},"webhook_id":{"type":"string","format":"uuid","title":"Webhook Id","description":"Public webhook UUID identifier.","example":"5c8f5e56-46b3-4b37-9b37-7bb4a786c21c"},"delivery_id":{"type":"integer","title":"Delivery Id","description":"Identifier of the test webhook delivery created for this call.","example":100001},"http_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Http Status","description":"HTTP status returned by the merchant endpoint, if it responded.","example":200},"response_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Body","description":"Response body returned by the merchant endpoint, if it responded.","example":"{\"message\":\"webhook received\"}"}},"additionalProperties":false,"type":"object","required":["status","status_code","webhook_id","delivery_id"],"title":"WebhookTestResponse"},"WebhookUpdateRequest":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"Webhook subscription unique identifier."},"webhook_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webhook Id","description":"Webhook unique identifier (alias for id)."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"Timestamp when the webhook subscription was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"Timestamp when the webhook subscription was last updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"Timestamp when the webhook subscription was deleted (soft delete)."},"merchant_identity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merchant Identity","description":"Merchant unique identifier."},"secret_key_encrypted":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret Key Encrypted","description":"Encrypted secret key used to sign webhook payloads."},"terminal_identity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terminal Identity","description":"Terminal unique identifier. Optional, if webhook is configured on terminal level.","example":"11000998"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url","description":"Merchant webhook endpoint URL.","example":"https://merchant.example.com/webhooks/kykeon"},"event_type":{"anyOf":[{"$ref":"#/components/schemas/WebhookEventType"},{"type":"null"}],"description":"Event type that will trigger this webhook.","example":"sale"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","description":"If false, webhook will not be called.","default":true,"example":true},"max_retries":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":0.0},{"type":"null"}],"title":"Max Retries","description":"Maximum number of retry attempts on failure.","example":3},"timeout_ms":{"anyOf":[{"type":"integer","maximum":30000.0,"minimum":500.0},{"type":"null"}],"title":"Timeout Ms","description":"Timeout for webhook HTTP call in milliseconds.","example":3000},"filters":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Filters","description":"Event-type-specific additional matching parameters. Allowed keys depend on event_type (e.g. amount_ge/amount_le for transaction events).","example":{"amount_ge":"10.00","amount_le":"999.99"}},"extra_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Extra Headers","description":"Additional HTTP headers to send with webhook request.","example":{"X-Merchant-Id":"62552880"}},"secret_key":{"anyOf":[{"type":"string","maxLength":128,"minLength":16},{"type":"null"}],"title":"Secret Key","description":"Secret used to sign webhook payloads. If omitted at creating webhook, server will generate it automatically.","example":"c4c99b8c8a8d4b1bb5f5189bd6e23da0"}},"additionalProperties":false,"type":"object","title":"WebhookUpdateRequest"},"models__posauth__CardData":{"properties":{"cardNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardnumber","description":"Encrypted Card Number.","example":"01953DF283F036CDCF090186799717ED"},"expDate":{"type":"string","title":"Expdate","description":"Card expiration date (YYMM).","example":"3112"},"track2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track2","description":"Track 2 data.","example":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570"},"ksn":{"type":"string","title":"Ksn","description":"KSN.","example":"1044201196FC40001129"},"onlinePinBlock":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Onlinepinblock","description":"Online PIN Block.","example":"CD691D810F86939F"},"mskdPAN":{"type":"string","title":"Mskdpan","description":"Masked PAN.","example":"417666******0034"},"cardSeqNum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardseqnum","description":"Card Sequence Number (4 digits).","example":"0003"},"cardCtryCd":{"type":"string","title":"Cardctrycd","description":"Card Country Code (iso 3 digits).","example":"196"},"cardCcyCd":{"type":"string","title":"Cardccycd","description":"Card Currency Code (iso 3 digits).","example":"978"},"cardBrnd":{"type":"string","title":"Cardbrnd","description":"Card Brand.","example":"VISA CREDIT"},"cvv":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvv","description":"CVV.","example":"123"}},"type":"object","required":["expDate","ksn","mskdPAN","cardCtryCd","cardCcyCd","cardBrnd"],"title":"CardData"},"models__posauth__MerchantData":{"properties":{"mId":{"type":"string","title":"Mid","description":"Merchant ID","example":"62552880"},"tId":{"type":"string","title":"Tid","description":"Terminal ID","example":"11000998"}},"type":"object","required":["mId","tId"],"title":"MerchantData"},"models__posauth__TerminalReqData":{"properties":{"entryMode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entrymode","description":"PAN Entry mode","example":"071"},"icc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icc","description":"ICC data.","example":"NUYyQTAyMDk3ODVGMzQwMTAzODIwMjIwMDA4NDA3QTAwMDAwMDAwMzEwMTA5NTA1MDAwMDAwMDAwMDlBMDMyNTAyMDQ5QzAxMDA5RjAyMDYwMDAwMDAwMDE1MDA5RjA5MDIwMDk2OUYxMDIwMUYyMjAxMDBBMDAwMDAwMDAwNTY0OTUzNDE0QzMzNTQ0NTUzNTQ0MzQxNTM0NTAwMDAwMDAwMDAwMDAwMDAwMDlGMUEwMjAxOTY5RjI2MDgyOEQwMzYwNjhBODZFMDlCOUYyNzAxODA5RjMzMDM2MEQ4Qzg5RjM0MDMzRjAwMDI5RjM1MDEyNDlGMzYwMjAwMDI5RjM3MDRBRkQ1MzI1MjlGNDAwNTYwMDBGMDEwMDE5RjZFMDQyMDcwMDAwMA=="},"keyId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyid","description":"Key ID.","example":"0001"}},"type":"object","title":"TerminalReqData"},"models__posauth_refund__CardData":{"properties":{"cardNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardnumber","description":"Encrypted Card Number.","example":"01953DF283F036CDCF090186799717ED"},"expDate":{"type":"string","title":"Expdate","description":"Card expiration date (MMYY).","example":"3112"},"track2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track2","description":"Track 2 data.","example":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570"},"ksn":{"type":"string","title":"Ksn","description":"KSN.","example":"1044201196FC40001129"},"onlinePinBlock":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Onlinepinblock","description":"Online PIN Block.","example":"CD691D810F86939F"},"mskdPAN":{"type":"string","title":"Mskdpan","description":"Masked PAN.","example":"417666******0034"},"cardSeqNum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardseqnum","description":"Card Sequence Number.","example":"0003"},"cardCtryCd":{"type":"string","title":"Cardctrycd","description":"Card Country Code.","example":"196"},"cardCcyCd":{"type":"string","title":"Cardccycd","description":"Card Currency Code.","example":"978"},"cardBrnd":{"type":"string","title":"Cardbrnd","description":"Card Brand.","example":"VISA CREDIT"},"cvv":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvv","description":"CVV.","example":"123"}},"type":"object","required":["expDate","ksn","mskdPAN","cardSeqNum","cardCtryCd","cardCcyCd","cardBrnd"],"title":"CardData"},"models__posauth_refund__MerchantData":{"properties":{"mId":{"type":"string","title":"Mid","description":"Merchant ID.","example":"62552880"},"tId":{"type":"string","title":"Tid","description":"Terminal ID.","example":"11000998"}},"type":"object","required":["mId","tId"],"title":"MerchantData"},"models__posauth_reversal__CardData":{"properties":{"cardNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardnumber","description":"Encrypted Card Number.","example":"01953DF283F036CDCF090186799717ED"},"expDate":{"type":"string","title":"Expdate","description":"Card expiration date (MMYY).","example":"3112"},"track2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track2","description":"Track 2 data.","example":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570"},"ksn":{"type":"string","title":"Ksn","description":"KSN.","example":"1044201196FC40001129"},"onlinePinBlock":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Onlinepinblock","description":"Online PIN Block.","example":"CD691D810F86939F"},"mskdPAN":{"type":"string","title":"Mskdpan","description":"Masked PAN.","example":"417666******0034"},"cardSeqNum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardseqnum","description":"Card Sequence Number.","example":"0003"},"cardCtryCd":{"type":"string","title":"Cardctrycd","description":"Card Country Code.","example":"196"},"cardCcyCd":{"type":"string","title":"Cardccycd","description":"Card Currency Code.","example":"978"},"cardBrnd":{"type":"string","title":"Cardbrnd","description":"Card Brand.","example":"VISA CREDIT"},"cvv":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvv","description":"CVV.","example":"123"}},"type":"object","required":["expDate","ksn","mskdPAN","cardCtryCd","cardCcyCd","cardBrnd"],"title":"CardData"},"models__posauth_reversal__MerchantData":{"properties":{"mId":{"type":"string","title":"Mid","description":"Merchant ID.","example":"62552880"},"tId":{"type":"string","title":"Tid","description":"Terminal ID.","example":"11000998"}},"type":"object","required":["mId","tId"],"title":"MerchantData"},"models__posauth_reversal__TerminalReqData":{"properties":{"entryMode":{"type":"string","title":"Entrymode","description":"PAN Entry mode.","example":"071"},"keyId":{"type":"string","title":"Keyid","description":"Key ID.","example":"0001"},"icc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icc","description":"ICC data."}},"type":"object","required":["entryMode","keyId"],"title":"TerminalReqData"},"models__posoct__CardData":{"properties":{"cardNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardnumber","description":"Encrypted Card Number.","example":"01953DF283F036CDCF090186799717ED"},"expDate":{"type":"string","title":"Expdate","description":"Card expiration date (YYMM).","example":"3112"},"track2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track2","description":"Track 2 data.","example":"01953DF283F036CD26B28526387E1D01F195FF3D59E8B570"},"ksn":{"type":"string","title":"Ksn","description":"KSN.","example":"1044201196FC40001129"},"mskdPAN":{"type":"string","title":"Mskdpan","description":"Masked PAN.","example":"417666******0034"},"cardSeqNum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardseqnum","description":"Card Sequence Number (4 digits).","example":"0003"},"cardCtryCd":{"type":"string","title":"Cardctrycd","description":"Card Country Code (iso 3 digits).","example":"196"},"cardCcyCd":{"type":"string","title":"Cardccycd","description":"Card Currency Code (iso 3 digits).","example":"978"},"cardBrnd":{"type":"string","title":"Cardbrnd","description":"Card Brand.","example":"VISA CREDIT"}},"type":"object","required":["expDate","ksn","mskdPAN","cardCtryCd","cardCcyCd","cardBrnd"],"title":"CardData"},"models__posoct__MerchantData":{"properties":{"mId":{"type":"string","title":"Mid","description":"Merchant ID","example":"62552880"},"tId":{"type":"string","title":"Tid","description":"Terminal ID","example":"11000998"}},"type":"object","required":["mId","tId"],"title":"MerchantData"},"models__posoct__TerminalReqData":{"properties":{"entryMode":{"type":"string","title":"Entrymode","description":"PAN Entry mode","example":"071"},"icc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icc","description":"ICC data.","example":"NUYyQTAyMDk3ODVGMzQwMTAzODIwMjIwMDA4NDA3QTAwMDAwMDAwMzEwMTA5NTA1MDAwMDAwMDAwMDlBMDMyNTAyMDQ5QzAxMDA5RjAyMDYwMDAwMDAwMDE1MDA5RjA5MDIwMDk2OUYxMDIwMUYyMjAxMDBBMDAwMDAwMDAwNTY0OTUzNDE0QzMzNTQ0NTUzNTQ0MzQxNTM0NTAwMDAwMDAwMDAwMDAwMDAwMDlGMUEwMjAxOTY5RjI2MDgyOEQwMzYwNjhBODZFMDlCOUYyNzAxODA5RjMzMDM2MEQ4Qzg5RjM0MDMzRjAwMDI5RjM1MDEyNDlGMzYwMjAwMDI5RjM3MDRBRkQ1MzI1MjlGNDAwNTYwMDBGMDEwMDE5RjZFMDQyMDcwMDAwMA=="},"keyId":{"type":"string","title":"Keyid","description":"Key ID.","example":"0001"}},"type":"object","required":["entryMode","keyId"],"title":"TerminalReqData"},"models__tap_relay__LocalTotalsBeforeTxn__1":{"properties":{"host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"},"host_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Class"}},"additionalProperties":true,"type":"object","title":"LocalTotalsBeforeTxn"},"models__tap_relay__LocalTotalsBeforeTxn__2":{"properties":{"host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"},"host_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host Class"}},"additionalProperties":true,"type":"object","title":"LocalTotalsBeforeTxn","description":"This object is huge and may evolve.\nTo keep it robust, we accept extra fields."}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-KEY"}}},"tags":[{"name":"E-commerce payment","description":"Operations for e-commerce flows."},{"name":"POS payment","description":"Operations for POS / in-store flows."},{"name":"Tokenization","description":"Tokenization."},{"name":"Webhooks","description":"Subscribe Webhooks."},{"name":"TapRelay","description":"POS TapRelay."},{"name":"Helper","description":"Auxiliary endpoints (health, utils, etc.)."},{"name":"Reports","description":"Reporting & reconciliation endpoints."},{"name":"BIN Lookup","description":"BIN Lookup"},{"name":"Hosted Payment Page","description":"Hosted Payment Page: create a session, redirect the cardholder to payment_url, read the status."},{"name":"Response Codes","description":"Catalog of issuer/network response codes for testing."}]}