Skip to main content

Documentation

Create Checkout Message Sequence - Card

Diagrams and steps for collecting from a card via a hosted page.

Creates a checkout page with card authorization and simultaneous capture. The fraud check illustrated here is part of all card payment requests.

Success

This diagram shows the sequence of events when the card network authorizes the card and the transaction proceeds to successful completion.

  1. The client sends Create Checkout Page request to Rapyd.

  2. Rapyd sends a response containing a redirect URL to the client.

  3. The client sends the URL to the customer.

  4. The customer completes the checkout page and submits it directly to Rapyd.

  5. Rapyd sends Webhook - Payment Succeeded to the client. The status of the payment is set to ACT (active).

  6. Rapyd requests a fraud check from the card network.

  7. The card network approves the card.

  8. Rapyd requests a payment from the card network.

  9. The card network approves the payment and transfers the funds to Rapyd.

  10. Rapyd credits the wallet and sends Webhook - Payment Completed to client. The status of the payment is set to CLO (closed).

Failure - Payment Declined

This diagram shows the sequence of events when the card network declines the card. A card payment can fail for many reasons, for example, the card was blocked.

  1. The client sends Create Checkout Page request to Rapyd.

  2. Rapyd sends a response containing a redirect URL to the client.

  3. The client sends the URL to the customer.

  4. The customer completes the checkout page and submits it directly to Rapyd.

  5. Rapyd sends Webhook - Payment Succeeded to the client. The status of the payment is set to ACT (active).

  6. Rapyd requests a fraud check from the card network.

  7. The card network rejects the payment.

  8. Rapyd sends Webhook - Payment Failed. The status of the payment is set to ERR (error).