Toss payments 개발자 커뮤니티Tp개커Toss payments 개발자 커뮤니티
Powered by
Jason ZhuJ
Toss payments 개발자 커뮤니티•8mo ago•
5 replies
Jason Zhu

question about transactionKey format in cancel

I need to find a way to separate between 「transactionKey of a cancel record」 and 「the order id from my side」.

Example id from my side: ARYAeLMaTLw1wUzlhrxsUjlhq1k7
Example transactionKey: txrd_a01jvmywd0rje50zwmvag5twhbv

I observe that transactionKey from toss always has prefix "txrd_", so don't know if this is a hard-coded prefix for both test environment and online environment?
If this is the case, it would make the separation logic much easier.
Toss payments 개발자 커뮤니티 banner
Toss payments 개발자 커뮤니티Join
Toss payments 개발자 커뮤니티입니다. 결제 연동하며 겪는 기술 문의부터, 결제 시장에 대한 다양한 정보까지 얻어가세요~
15,588Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

transactionKey with brandpay?
토스페이먼츠 BOT토토스페이먼츠 BOT / 🌎┃global-support
3y ago
no transactionKey returned with Brandpay Test mode?
NeojackNNeojack / 🌎┃global-support
3y ago
Question about requestPayment() method (Javascript Widget)
ndlinhNndlinh / 🌎┃global-support
3y ago
About international payments in USD
tutaTtuta / 🌎┃global-support
4mo ago