# API Reference

You can also check Paymongo's [Official Documentation](https://developers.paymongo.com/docs).

## Payment Methods

A `PaymentMethod` resource describes which payment method was used to fulfill a payment. It is used with a PaymentIntent to collect payments.

{% content-ref url="api-reference/payment-methods" %}
[payment-methods](https://paymongo.ossph.org/reference/api-reference/payment-methods)
{% endcontent-ref %}

## Payment Intents

A `PaymentIntent` resource is used to track and handle different states of the payment until it succeeds.

{% content-ref url="api-reference/payment-intents" %}
[payment-intents](https://paymongo.ossph.org/reference/api-reference/payment-intents)
{% endcontent-ref %}

## Sources

A Source is a resource to generate your customer's payment instrument. This is normally used to generate check out URLs for e-wallet payments. To learn more about e-wallet integrations, you can visit [GCash](https://developers.paymongo.com/docs/accepting-gcash-payments) or [GrabPay](https://developers.paymongo.com/docs/accepting-grabpay-payments) integration.

{% content-ref url="api-reference/sources" %}
[sources](https://paymongo.ossph.org/reference/api-reference/sources)
{% endcontent-ref %}

## Payments

A `Payment` resource is an attempt by your customer to send you money in exchange for your product. This is a reference to an amount that you are expecting to receive if a payment resource with paid status becomes a part of a payout. If the payment status is `failed`, you can determine the reason for failure.

{% content-ref url="api-reference/payments" %}
[payments](https://paymongo.ossph.org/reference/api-reference/payments)
{% endcontent-ref %}

## Webhooks

A `Webhook` resource primarily refers to a certain URL where we send events that are happening from your account. You can check our [GCash](https://developers.paymongo.com/docs/accepting-gcash-payments) and [GrabPay](https://developers.paymongo.com/docs/accepting-grabpay-payments) integrations to find out some good use cases for webhooks.

{% content-ref url="api-reference/webhooks" %}
[webhooks](https://paymongo.ossph.org/reference/api-reference/webhooks)
{% endcontent-ref %}
