# Make a One-time Donation Using a New Card
source: https://developer.mastercard.com/donations/documentation/use-cases/make-donations/one-time-donations/one-time-donation-newcard/index.md

## Overview {#overview}

Mastercard Donate does not store the card details for one-time donations made using a new card.

## Sequence Diagram {#sequence-diagram}

The following diagram outlines the sequence of events:
Diagram onetimedonation-newcard

## Execution Steps {#execution-steps}

The following details the steps in the above sequence diagram:

1. The donor requests to display the charities to make a one-time donation.
2. The partner user interface displays the page with charities.
3. The donor selects the charity to donate.
4. The partner user interface displays the list of donation types.
5. The donor selects the *donationType=one-time* and amount.
6. The donor chooses to enter credentials of the card and requests the partner user interface to display the card screen.
7. The partner user interface displays the card screen to the donor.
8. The donor enters the credentials of the new card.
9. The partner user interface displays the details for the donor to review.
10. The donor reviews and confirms to proceed.
11. The partner user interface forwards the request to the partner server.
12. The partner server calls the `POST /payments` endpoint and sends the one-time donation data to the Mastercard Donate service.
13. The Mastercard Donate service verifies the donor identifier.
14. The Mastercard Donate service verifies the card primary account number (PAN) for uniqueness and other card credentials if the donor exists.
15. The Mastercard Donate service sends the payload to the charity's acquirer for processing if it validates all card data as correct.
16. The charity's acquirer processes the donation.
17. The charity's acquirer returns the `transactionStatus` and the `transactionMessage` to the Mastercard Donate Service.
18. The Mastercard Donate Service generates a `transactionId` and stores the `transactionStatus` and `transactionMessage`.
19. The Mastercard Donate Service sends the `transactionId`, `transactionStatus`, and `transactionMessage` to the partner server.
20. The partner server sends the transaction details to the partner user interface.
21. The partner user interface displays the donation transaction details to the donor.
22. The Mastercard Donate service sends an error message to the partner server if it finds a duplicate PAN or incorrect credentials and terminates the request.
23. The partner server forwards the error message to the partner user interface.
24. The partner user interface displays the error message to the donor.
25. The Mastercard Donate service sends the error message 'Provided donor ID is not valid. Please check and provide a valid unique ID' to the partner server if it does not find the donor ID.
26. The partner server forwards the error message 'Provided donor ID is not valid. Please check and provide a valid unique ID' to the partner user interface.
27. The partner user interface displays the error message 'Provided donor ID is not valid. Please check and provide a valid unique ID' on the end-user screen.

## Endpoint {#endpoint}


API Reference: `POST /payments`

## Endpoint Parameter {#endpoint-parameter}

For more details on the endpoint parameters, refer to the [Parameters to Make a One-time Donation with a New Card](https://developer.mastercard.com/donations/documentation/parameters/manage-onetime-guest-dn-param/onetime/index.md#one-time-donation-with-a-new-card) section.

## Sample Request and Response {#sample-request-and-response}

For more details, refer to the [Make a One-time Donation](https://developer.mastercard.com/donations/tutorial/donation-api-details/onetimeapi/index.md#post-donationspayments) tutorial.
