ThreeDSecure
The result of a 3-D Secure challenge.
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
POST |
/spend/profiles/{profileId}/3dsecure/challenge-result |
create |
No Content - Challenge result has been successfully recorded |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
created, err := client.ThreeDSecure(nil).Create(map[string]any{"profile_id": 1, "challengeStatus": "example", "transactionReference": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(created)
Lua
Construct client as shown in the Lua setup, then call the operations:
local created, err = client:ThreeDSecure():create({ profile_id = 1, challengeStatus = "example", transactionReference = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$created = $client->ThreeDSecure()->create(["profile_id" => 1, "challengeStatus" => "example", "transactionReference" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
created = client.ThreeDSecure().create({ "profile_id": 1, "challengeStatus": "example", "transactionReference": "example" })
Ruby
Construct client as shown in the Ruby setup, then call the operations:
created = client.ThreeDSecure.create({ "profile_id" => 1, "challengeStatus" => "example", "transactionReference" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const created = await client.ThreeDSecure().create({ profile_id: 1, challengeStatus: "example", transactionReference: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
challengeStatus |
string |
Yes | The customer's response to the 3DS challenge. |
transactionReference |
string |
Yes | Transaction reference as received in the 3DS challenge webhook event. |
create
POST /spend/profiles/{profileId}/3dsecure/challenge-result
Operation ID: 3dsChallengeResultPost.
Authentication: bearer token (UserToken).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
profileId |
path |
integer (int64) |
Yes | The profile ID (personal or business) associated with the 3DS challenge. |
X-External-Correlation-Id |
header |
string (uuid) |
No | Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more. |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
challengeStatus |
enum: APPROVED, REJECTED |
Yes | The customer's response to the 3DS challenge. |
transactionReference |
string |
Yes | Transaction reference as received in the 3DS challenge webhook event. |
Responses
204: No Content - Challenge result has been successfully recorded
429: Rate limit exceeded. Retry after the number of seconds specified in the Retry-After header
application/json
The response is object.