PomeloEx.Cards.Credits.CreditProduct (PomeloEx v0.1.0)

View Source

The Credit Product service allows you to create and manage credit products and their segments.

Want to know more about credit products? Check out our documentation.

Summary

Functions

Create price update The /products/{product_id}/pricing endpoint allows you to create new price updates for products with ACTIVE or PAUSED status

Create Product The lending/v1/products endpoint allows you to create a product.

Create segment The /products/{product_id}/segments endpoint allows you to create a new segment for a product with specific pricing configuration.

Deactivating a product The endpoint lending/v1/products/{id} allows you to deactivate a specific product.

Get price update history The endpoint /products/{product_id}/pricing allows you to obtain the price update history related to a product

Get product The lending/v1/products/{id} endpoint allows you to retrieve data from a specific product.

Get products The endpoint lending/v1/products allows you to retrieve data from all products created

Get segment The /products/{product_id}/segments/{segment_id} endpoint allows you to retrieve data from a specific segment.

Get segment rate updates The /products/{product_id}/segments/{segment_id}/pricing endpoint allows you to obtain rate updates for a segment, either applied or upcoming.

Get segments The /products/{product_id}/segments endpoint allows you to retrieve all segments associated with a specific product.

Modify pending price update The endpoint /products/{product_id}/pricing/{start_date} enables you to modify a pending price update

Update product The lending/v1/products/{id} endpoint allows you to update data for a specific product.

Update segment The /products/{product_id}/segments/{segment_id} endpoint allows you to update settings for a specific segment.

Functions

create_price_update(payload)

Create price update The /products/{product_id}/pricing endpoint allows you to create new price updates for products with ACTIVE or PAUSED status

create_product(payload)

Create Product The lending/v1/products endpoint allows you to create a product.

At this moment, you will be able to define the cutoff and due dates, limits and available balances, rates and fees, how the minimum payment is composed and more.

create_segment(payload)

Create segment The /products/{product_id}/segments endpoint allows you to create a new segment for a product with specific pricing configuration.

deactivating_product(payload)

Deactivating a product The endpoint lending/v1/products/{id} allows you to deactivate a specific product.

get_price_update_history(payload)

Get price update history The endpoint /products/{product_id}/pricing allows you to obtain the price update history related to a product

get_product(payload)

Get product The lending/v1/products/{id} endpoint allows you to retrieve data from a specific product.

get_products(payload)

Get products The endpoint lending/v1/products allows you to retrieve data from all products created

get_segment(payload)

Get segment The /products/{product_id}/segments/{segment_id} endpoint allows you to retrieve data from a specific segment.

get_segment_rate_updates(payload)

Get segment rate updates The /products/{product_id}/segments/{segment_id}/pricing endpoint allows you to obtain rate updates for a segment, either applied or upcoming.

get_segments(payload)

Get segments The /products/{product_id}/segments endpoint allows you to retrieve all segments associated with a specific product.

modify_pending_price_update(payload)

Modify pending price update The endpoint /products/{product_id}/pricing/{start_date} enables you to modify a pending price update

update_product(payload)

Update product The lending/v1/products/{id} endpoint allows you to update data for a specific product.

update_segment(payload)

Update segment The /products/{product_id}/segments/{segment_id} endpoint allows you to update settings for a specific segment.