v1

latestOpenAPI 3.0.02026-07-24440173.4 KB
Payments (V2)

UpdateSession

Updates a payment session with payment token information. This endpoint accepts MyFatoorah tokens, and tokens for native wallet integrations.

post/v2/UpdateSession

Request body

SessionIdstring required

Received from InitiateSession endpoint to update the session with the token.

Tokenstring required

Token based on the TokenType.

TokenType'mftoken' | 'googlepay' | 'applepay' required

mftoken: for MyFatoorah card token. googlepay: for Google Pay token. applepay: for Apple Pay token.

Response

Session updated successfully

IsSuccessboolean

Indicates if the request was successful.

Messagestring

Response message associated with the request.