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

View Source

This service enables you to report user payments and the associated benefits or charges over a credit line. Find more information about allocations in our documentation.

Summary

Functions

Cancel allocation The endpoint /lending/v1/collections/{id}/cancel allows you to cancel an allocation that you have already reported to us by simply specifying its ID.

Generate allocation The endpoint /lending/v1/collections allows you to report the payment made by one of your users, as well as any bonuses or surcharges you need to apply to their credit line.

Obtain allocation by ID The endpoint /lending/v1/collections/{id} allows you to inquire about a specific allocation by providing the ID assigned to it when generated.

Obtain allocations The /lending/v1/collections endpoint will return all the transactions you have reported that meet the search criteria you set in the parameters.

Update ticket The endpoint /lending/v1/payment-requests/{credit_line_id} allows you to update the payment amount of a pending ticket. This service is only available for Brazil.

Functions

cancel_allocation(payload)

Cancel allocation The endpoint /lending/v1/collections/{id}/cancel allows you to cancel an allocation that you have already reported to us by simply specifying its ID.

generate_allocation(payload)

Generate allocation The endpoint /lending/v1/collections allows you to report the payment made by one of your users, as well as any bonuses or surcharges you need to apply to their credit line.

obtain_allocation(payload)

Obtain allocation by ID The endpoint /lending/v1/collections/{id} allows you to inquire about a specific allocation by providing the ID assigned to it when generated.

obtain_allocations(payload)

Obtain allocations The /lending/v1/collections endpoint will return all the transactions you have reported that meet the search criteria you set in the parameters.

update_ticket(payload)

Update ticket The endpoint /lending/v1/payment-requests/{credit_line_id} allows you to update the payment amount of a pending ticket. This service is only available for Brazil.