Send test signed and encrypted HTTP requests and receive signed and encrypted responses. Both signing and encryption are mandatory for this endpoint. The request must be a JSON Web Signature (JWS) wrapped in JSON Web Encryption (JWE) — any message that does not follow this format will be rejected.
The flow combines both JWS and JWE:
- Request: Send request to Wise, setting the correct jose method header and setting a valid Encryption Key ID in the relevant header.
- Response: Receive encrypted response → Decrypt (JWE) → Verify signature (JWS)
Currently, the Wise API returns a generic 500 Internal Server Error for decryption failures across endpoints using JWE and JWS+JWE. For example, an invalid key can cause a decryption failure.
Our team is currently planning improvements for these types of error messages to make them more specific and clear. Thank you for your patience.
Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.
- Production Environmenthttps://api.wise.com/2026Q4/auth/jose/playground/jwsjwe
- Sandbox Environmenthttps://api.wise-sandbox.com/2026Q4/auth/jose/playground/jwsjwe
curl -i -X GET \
https://api.wise.com/2026Q4/auth/jose/playground/jwsjwe \
-H 'Accept: application/jose+json' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-External-Correlation-Id: f47ac10b-58cc-4372-a567-0e02b2c3d479' \
-H 'X-TW-JOSE-Encryption-kid: 2333836d-2e1c-4acd-8b52-234d379260aa' \
-H 'x-tw-jose-method: jws+jwe'Signed and encrypted response.
Echoed back when X-External-Correlation-Id was included in the request. Learn more.
JWE-encoded string containing a signed JWS. After decryption (JWE) and signature verification (JWS), the response contains:
message— The original message prefixed withjose-playground-response-. Message length is limited to 100 characters.method— Original HTTP request method name:GET.
Example of decrypted and decoded response:
{
"message": "jose-playground-response-This is an example from docs.wise.com",
"method": "GET"
}"eyJraWQiOiJiMzc0ODE1MC0xNGQ0LTRlMDAtYjM5NC03YWUwYzkzYmUyNDUiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.VGhpcyBpcyB0aGUgZW5jcnlwdGVkIENFSw.aXZfdmFsdWU.ZW5jcnlwdGVkX3BheWxvYWQ.YXV0aF90YWc"