> For the complete documentation index, see [llms.txt](/llms.txt)

# GS2-Exchange API Reference

Game resource exchange feature




Implements permanent exchange processes, such as item sale prices and exchange rates between evolution materials of different rarities.

GS2-Exchange converts resources managed by one GS2 microservice into resources managed by the same or another microservice.
The exchange rate defines the actions used to verify and consume the cost and the actions used to grant the reward, allowing the complete exchange to be processed consistently.

Three exchange modes are available.

- Direct exchange grants the reward immediately.
- Asynchronous exchange consumes the cost first and makes the reward available after a configured waiting period. The waiting period can also be shortened by paying an additional cost.
- Incremental-rate exchange changes the required cost according to the number of purchases. It can be used for designs such as stamina recovery whose price increases with each purchase and resets on a configured cycle.

[Introduction to Microservices / GS2-Exchange](../../microservices/exchange)



- [GS2-Exchange Buff Reference](/api_reference/exchange/buff/)
  
- [GS2-Exchange Deploy/CDK Reference](/api_reference/exchange/deploy/)
  
- [GS2-Exchange Master Data Reference](/api_reference/exchange/master_data/)
  
- [GS2-Exchange Script Trigger Reference](/api_reference/exchange/script/)
  
- [GS2-Exchange SDK API Reference](/api_reference/exchange/sdk/)
  
- [GS2-Exchange SDK for Game Engine API Reference](/api_reference/exchange/game_engine/)
  
- [GS2-Exchange Transaction Actions](/api_reference/exchange/stamp_sheet/)
  
