Zid Docs
Merchant APIPayment APIAppsThemes
Merchant APIPayment APIAppsThemes
Help Center
Slack
  1. Payment API
  • Merchant Activation
  • Submitting
  • Gateway Error Codes
  • Webhooks
    • Link Merchant Event
      POST
    • Payment Paid Event
      POST
    • Refund Event
      POST
  • Payment
    • Embedded Payment
    • Execute Payment Request
      POST
    • Get payment status
      GET
    • Direct Payment
      POST
  • ApplePay
    • ApplePay Checkout
    • On Payment Authorized
    • Register ApplePay Domain
      POST
    • On Providing Merchant Validation
      POST
  • Refund
    • Request Refund
      POST
  1. Payment API

Submitting

Overview#

We will call a submit function in the JS library to get the payment form fields submitted.
this.embeddedPaymentForm.submit();

Expected function return#

PropertyTypeDescription
tokenstring
brandstringCard type, types:
• visa
• master
• mada
• amex
fundingstringTypes:
• Credit
• debit
networkstringNetwork that the payment is going to be processed on
Types:
• visa
• master
• mada
• amex
countrystringCard country
cardBinfunctionCard bin (Last 6 digits of the card number)
lastFourstringLast four digits
Modified at 2025-05-20 13:59:25
Previous
Merchant Activation
Next
Gateway Error Codes
Built with