Payments Training Hub
Work starts with a clear PAYMENT OPERATIONS STARTED LIVE 01 Work starts with a clear - business objective and scope ACTIVE 02 Functional requirements - describe what the system must do QUEUED 03 Action and the expected output - Each requirement names the input QUEUED 04 Requirements protect the customer experience - These requirements protect QUEUED 05 Requirement without acceptance criteria - only a wish, because no one can QUEUED 06 Requirements document lets - complete requirements document lets the QUEUED The work starts with a clear business objective and scope, written before any technical detail. Step 1 of 6 Work starts with a clear STARTED Work starts with a clear business objective and scope ACTIVE Functional requirements describe what the system must do QUEUED Action and the expected output Each requirement names the input QUEUED Requirements protect the customer These requirements protect the customer QUEUED Requirement without acceptance criteria only a wish, because no one can prove QUEUED Requirements document lets complete requirements document lets the QUEUED The work starts with a clear business objective and scope, written before any technical detail.
Functional requirements PAYMENT OPERATIONS IN PROGRESS LIVE 01 Work starts with a clear - business objective and scope DONE 02 Functional requirements - describe what the system must do ACTIVE 03 Action and the expected output - Each requirement names the input QUEUED 04 Requirements protect the customer experience - These requirements protect QUEUED 05 Requirement without acceptance criteria - only a wish, because no one can QUEUED 06 Requirements document lets - complete requirements document lets the QUEUED Functional requirements describe what the system must do, each with a unique identifier and a clear actor. Step 2 of 6 Functional requirements IN PROGRESS Work starts with a clear business objective and scope DONE Functional requirements describe what the system must do ACTIVE Action and the expected output Each requirement names the input QUEUED Requirements protect the customer These requirements protect the customer QUEUED Requirement without acceptance criteria only a wish, because no one can prove QUEUED Requirements document lets complete requirements document lets the QUEUED Functional requirements describe what the system must do, each with a unique identifier and a clear actor.
Action and the expected output PAYMENT OPERATIONS IN PROGRESS LIVE 01 Work starts with a clear - business objective and scope DONE 02 Functional requirements - describe what the system must do DONE 03 Action and the expected output - Each requirement names the input ACTIVE 04 Requirements protect the customer experience - These requirements protect QUEUED 05 Requirement without acceptance criteria - only a wish, because no one can QUEUED 06 Requirements document lets - complete requirements document lets the QUEUED Each requirement names the input, the action and the expected output, so a developer does not have to guess. Step 3 of 6 Action and the expected output IN PROGRESS Work starts with a clear business objective and scope DONE Functional requirements describe what the system must do DONE Action and the expected output Each requirement names the input ACTIVE Requirements protect the customer These requirements protect the customer QUEUED Requirement without acceptance criteria only a wish, because no one can prove QUEUED Requirements document lets complete requirements document lets the QUEUED Each requirement names the input, the action and the expected output, so a developer does not have to guess.
Requirements protect the customer experience PAYMENT OPERATIONS IN PROGRESS LIVE 01 Work starts with a clear - business objective and scope DONE 02 Functional requirements - describe what the system must do DONE 03 Action and the expected output - Each requirement names the input DONE 04 Requirements protect the customer experience - These requirements protect ACTIVE 05 Requirement without acceptance criteria - only a wish, because no one can QUEUED 06 Requirements document lets - complete requirements document lets the QUEUED These requirements protect the customer experience and the merchant reputation, even when the happy path works perfectly. Step 4 of 6 Requirements protect the customer experience IN PROGRESS Work starts with a clear business objective and scope DONE Functional requirements describe what the system must do DONE Action and the expected output Each requirement names the input DONE Requirements protect the customer These requirements protect the customer ACTIVE Requirement without acceptance criteria only a wish, because no one can prove QUEUED Requirements document lets complete requirements document lets the QUEUED These requirements protect the customer experience and the merchant reputation, even when the happy path works perfectly.
Requirement without acceptance criteria PAYMENT OPERATIONS IN PROGRESS LIVE 01 Work starts with a clear - business objective and scope DONE 02 Functional requirements - describe what the system must do DONE 03 Action and the expected output - Each requirement names the input DONE 04 Requirements protect the customer experience - These requirements protect DONE 05 Requirement without acceptance criteria - only a wish, because no one can ACTIVE 06 Requirements document lets - complete requirements document lets the QUEUED A requirement without acceptance criteria is only a wish, because no one can prove it is done. Step 5 of 6 Requirement without acceptance criteria IN PROGRESS Work starts with a clear business objective and scope DONE Functional requirements describe what the system must do DONE Action and the expected output Each requirement names the input DONE Requirements protect the customer These requirements protect the customer DONE Requirement without acceptance criteria only a wish, because no one can prove ACTIVE Requirements document lets complete requirements document lets the QUEUED A requirement without acceptance criteria is only a wish, because no one can prove it is done.
Requirements document lets PAYMENT OPERATIONS COMPLETE LIVE 01 Work starts with a clear - business objective and scope DONE 02 Functional requirements - describe what the system must do DONE 03 Action and the expected output - Each requirement names the input DONE 04 Requirements protect the customer experience - These requirements protect DONE 05 Requirement without acceptance criteria - only a wish, because no one can DONE 06 Requirements document lets - complete requirements document lets the ACTIVE A complete requirements document lets the merchant, the gateway and the developers agree on the same outcome before a single line of code is written. Step 6 of 6 Requirements document lets COMPLETE Work starts with a clear business objective and scope DONE Functional requirements describe what the system must do DONE Action and the expected output Each requirement names the input DONE Requirements protect the customer These requirements protect the customer DONE Requirement without acceptance criteria only a wish, because no one can prove DONE Requirements document lets complete requirements document lets the ACTIVE A complete requirements document lets the merchant, the gateway and the developers agree on the same outcome before a single line of code is written.

Key points of this lesson, in order.

0:00 / 4:37 Step 1 of 6

How BAs Write Gateway Integration Requirements

Payment Gateway Architecture, Lesson 6 of 7, Narration 4:37, D09 Payment architecture and technology

Settlement3D SecureGateway

What you will learn

Your objective. By the end of this lesson, you will be able to explain bas write gateway integration requirements. The work starts with a clear business objective and scope, written before any technical detail.

Why it matters. The analyst also documents edge cases, error handling and the go live checklist, which are easy to forget.

Chapter objective: Learner explains payment gateway architecture, including checkout, token vault, routing, retries, and settlement, and designs a gateway flow for an online merchant. Learner practises this skill on realistic banking cases, explaining the reasoning clearly and using correct terminology throughout the work.

Key learning points

  • Work starts with a clear
  • Functional requirements
  • Action and the expected output
  • Requirements protect the customer experience
  • Requirement without acceptance criteria
  • Requirements document lets

Key terms

Settlement: The final movement of funds between banks to discharge obligations created by cleared payments. Settlement is usually made in central bank money or through correspondent accounts.

3D Secure: A security protocol that adds an authentication step to online card payments, usually by asking the cardholder to confirm the payment with their bank.

Gateway: A service that connects a merchant website or app to payment networks and acquirers. It encrypts card data, routes authorisation requests, and returns the result to the merchant.

Banking architecture diagram showing How BAs Write Gateway Integration Requirements.

Practise this lesson

Exercise

Map the payment in this lesson through the hub components.

Use the hub components and their order in this lesson.

  1. What to do. List each component the payment passes through, what it does, and what happens if it fails.

Correct result. The payment enters through a channel, passes the gateway, validation, fraud and sanctions checks, routing, and the ledger, then leaves through the right clearing system. A failure at any component stops or holds the payment, and the hub must record where it stopped.

Why. The hub is where most payment requirements live. If you cannot map a payment through it, you cannot specify, test or fix it.

Check your understanding

Practice question

Which of the following best describes bas write gateway integration requirements?

Takeaway and next step

What to remember

Edge cases include a customer closing the browser during 3D Secure authentication, a webhook arriving twice, a refund requested after settlement, and a payment that authorizes but never captures.

Send a payment through the hub and watch it pass each component named in this lesson.

Open the Payment Hub Architecture Simulator →

Builds on "Payment Aggregators vs Gateways".

Transcript and full text

Show transcript

The work starts with a clear business objective and scope, written before any technical detail. For example, a mid sized electronics retailer, BrightKart, wants to accept Visa, Mastercard, RuPay and UPI on its website, with settlement in T plus 2 days and an approval rate of at least 90 percent. The scope covers checkout integration, payment page branding, tokenization for saved cards, refunds through the merchant dashboard, and webhook handling for order status updates. Out of scope are international currency settlement, in store point of sale terminals, and buy now pay later, which will be considered in a later phase. Writing the scope first prevents the project from growing during development, and gives every stakeholder the same picture of success. Functional requirements describe what the system must do, each with a unique identifier and a clear actor. Requirement GW-F-01 states that the checkout must call POST /v1/payments with order_id, amount in paise, currency INR, and the card token, and must display the gateway payment page within three seconds. Requirement GW-F-02 states that on a successful authorization, the system must store the payment_id, the authorization code and the status authorized against the order, and must not capture funds until the warehouse confirms dispatch. Requirement GW-F-03 states that a refund of up to the full captured amount must be possible from the merchant dashboard, and that the refund status must update the order to refunded within one hour of the gateway webhook. Each requirement names the input, the action and the expected output, so a developer does not have to guess. Non functional requirements cover performance, security, reliability and support, and they are often where integrations fail. Requirement GW-NF-01 states that the gateway API must respond within two seconds for 95 percent of authorization requests, measured over a rolling seven day window. Requirement GW-NF-02 states that all card data must be tokenized, that no card number or CVV is stored on BrightKart servers, and that the integration must pass a PCI DSS self assessment questionnaire before go live. Requirement GW-NF-03 states that the gateway must provide 99.9 percent uptime, a status page, and a support response within one hour for a severity one incident, such as a complete payment outage during a sale. These requirements protect the customer experience and the merchant reputation, even when the happy path works perfectly. Acceptance criteria turn each requirement into a test that can pass or fail, For GW-F-01, the criterion is that a test order for 1,999 rupees on a Visa test card returns status authorized, an authorization code and a payment_id, and the payment page loads in under three seconds. For GW-F-02, the criterion is that after the warehouse confirms dispatch, the capture call returns status captured, the order moves to paid, and the settlement report shows the same payment_id and the net amount after fees. For the refund requirement, the criterion is that a refund of 500 rupees against a 1,999 rupee order returns a refund_id, reduces the refundable balance to 1,499 rupees, and sends a webhook with event refund processed within five minutes. A requirement without acceptance criteria is only a wish, because no one can prove it is done. The analyst also documents edge cases, error handling and the go live checklist, which are easy to forget. Edge cases include a customer closing the browser during 3D Secure authentication, a webhook arriving twice, a refund requested after settlement, and a payment that authorizes but never captures. For each case, the document states the expected behavior, a duplicate webhook must be ignored, and an authorized but uncaptured payment must be voided automatically after seven days. The go live checklist covers test cards for each payment method, production API keys stored securely, webhook endpoints registered, settlement bank account verified with a one rupee test credit, and a rollback plan if approval rates fall below 85 percent in the first hour. A complete requirements document lets the merchant, the gateway and the developers agree on the same outcome before a single line of code is written.

The work starts with a clear business objective and scope, written before any technical detail. For example, a mid sized electronics retailer, BrightKart, wants to accept Visa, Mastercard, RuPay and UPI on its website, with settlement in T plus 2 days and an approval rate of at least 90 percent. The scope covers checkout integration, payment page branding, tokenization for saved cards, refunds through the merchant dashboard, and webhook handling for order status updates. Out of scope are international currency settlement, in store point of sale terminals, and buy now pay later, which will be considered in a later phase. Writing the scope first prevents the project from growing during development, and gives every stakeholder the same picture of success.

Functional requirements describe what the system must do, each with a unique identifier and a clear actor. Requirement GW-F-01 states that the checkout must call POST /v1/payments with order_id, amount in paise, currency INR, and the card token, and must display the gateway payment page within three seconds. Requirement GW-F-02 states that on a successful authorization, the system must store the payment_id, the authorization code and the status authorized against the order, and must not capture funds until the warehouse confirms dispatch. Requirement GW-F-03 states that a refund of up to the full captured amount must be possible from the merchant dashboard, and that the refund status must update the order to refunded within one hour of the gateway webhook. Each requirement names the input, the action and the expected output, so a developer does not have to guess.

Non functional requirements cover performance, security, reliability and support, and they are often where integrations fail. Requirement GW-NF-01 states that the gateway API must respond within two seconds for 95 percent of authorization requests, measured over a rolling seven day window. Requirement GW-NF-02 states that all card data must be tokenized, that no card number or CVV is stored on BrightKart servers, and that the integration must pass a PCI DSS self assessment questionnaire before go live. Requirement GW-NF-03 states that the gateway must provide 99.9 percent uptime, a status page, and a support response within one hour for a severity one incident, such as a complete payment outage during a sale. These requirements protect the customer experience and the merchant reputation, even when the happy path works perfectly.

Acceptance criteria turn each requirement into a test that can pass or fail, For GW-F-01, the criterion is that a test order for 1,999 rupees on a Visa test card returns status authorized, an authorization code and a payment_id, and the payment page loads in under three seconds. For GW-F-02, the criterion is that after the warehouse confirms dispatch, the capture call returns status captured, the order moves to paid, and the settlement report shows the same payment_id and the net amount after fees. For the refund requirement, the criterion is that a refund of 500 rupees against a 1,999 rupee order returns a refund_id, reduces the refundable balance to 1,499 rupees, and sends a webhook with event refund processed within five minutes. A requirement without acceptance criteria is only a wish, because no one can prove it is done.

The analyst also documents edge cases, error handling and the go live checklist, which are easy to forget. Edge cases include a customer closing the browser during 3D Secure authentication, a webhook arriving twice, a refund requested after settlement, and a payment that authorizes but never captures. For each case, the document states the expected behavior, a duplicate webhook must be ignored, and an authorized but uncaptured payment must be voided automatically after seven days. The go live checklist covers test cards for each payment method, production API keys stored securely, webhook endpoints registered, settlement bank account verified with a one rupee test credit, and a rollback plan if approval rates fall below 85 percent in the first hour. A complete requirements document lets the merchant, the gateway and the developers agree on the same outcome before a single line of code is written.

Full lesson text (all scenes)

Completing a lesson updates your progress dashboard on the homepage.

Scene timestamps are estimated by allocating the narration text proportionally across the real audio length. The audio playback position is the source of truth: pause freezes the visual, seeking restores the correct scene, replay restarts the scene animation.