Paypal Sanbox
Hello TossPayment team, i know paypal support sandbox environment for testing, i want to know if when testing global payment method, is there any way to do it on test environment. Or is it required to use real money.
clientKey: test_gck_mBZ1gQ4YVXJ6mlyXMOnZ8l2KPoqN
variantKey: hbstoreGlobal
24 Replies
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) :
- 문의 내용 :
(문제가 발생한 이미지나 전체 결제흐름 동영상을 첨부해주시면 빠른 분석을 받으실 수 있습니다.)
* 계약관련 내용은 1544-7772로 문의주세요.
* 주말/공휴일에는 답변이 늦을 수 있어요.

you can use it
이메일: tosspayments-paypal@example.com
비밀번호: tosskim123!@#
it should only be for paypal sandbox
감사합니다

@냥과장
I want to ask more, what about brandPay, is there a card or something to run the test environment?
you can enter any information that has valid BIN info issued by KOREA.
46195410xxxxxxxx
This is the one of working example
after entering card information i got this message

it's because you do not request the accesstoken
please refer the brandpay integration guide first.
I set redirect_url and got the info
"[2025-11-26T17:04:26+07:00] code=KGPx4M3MpeQDbP75PE8BaWyp | customerKey=user_U1758270174"
Then I used postman to call https://api.tosspayments.com/v1/brandpay/authorizations/access-token
and got
{
"accessToken": "live_bpac_yegEOALnQvDd2VJbnORWpok9vVMj7X41mNW5kz",
"refreshToken": "live_bprf_Yb7w4vZnjEJeQVxGe12QNQ7od3PmOoBN0k12dz",
"tokenType": "bearer",
"expiresIn": 2592000
}
However, the UI showing my brandPay payment method has an error

variantKey: cp_hseoul9d3t
now you are using test key in FE but you requested to issue the token with live key.
You failed the identity verifycation. do you have the phone number in korea?
it seems you entered wrong information
I deleted your latest message because of the personal information
If you have registered from Ministry of Immigration @ Korea and used the foreigner registration card when you make the phone number,
Please ask your telecommunication company for the exact info that is registered on their side.
Or you can ask your Korean colleague to do the identity verification.
Thanks, I will ask my colleague in Korea and try again
Looks like I've been wrong too many times and reached the limit, can you guys help me open it?

https://www.kmcert.com/BlockCert.jsp
Use this page to unlock
@Ayaan이안 thanks, it worked

what about old users who are stuck with "오류가 발생했습니다
customerToken이 존재하지 않습니다.", I want to clear the cache according to that customer_key to add the card again from the beginning.
You should call withdrawal API to completely destroy the data currently stored in Toss's Database.
i can't find any api related to "withdrawal". i think you are referring to this one.
curl --request POST \
--url https://api.tosspayments.com/v1/brandpay/customers/remove \
--header 'Authorization: Bearer ***'
but i don't have a token to attach yet
curl --request POST \
--url https://api.tosspayments.com/v1/brandpay/customers/remove \
--header 'Authorization: Bearer Xy0E4Dv5qpMGjLJoQ1aVZ5449xB1P3w6KYe2RNgOWznZb7Bm'
This one
and If you cannot authenticate with Bearer AccessToken, you can use our Admin Page to achieve this.
If you have difficulties to access the admin page, please let us know, we will check it for you
i am on this link
https://dashboard.tosspayments.com/
but i cant find the admin section related to user management in brandPay, can you give me more details?
you can access here but it is for the live env