Show Menu

Authorize Remitter

Request OTP (one-time password) to Authorize Transaction

This is used to generate an authentication one time password to allow the vendor (remitter) to be authorized by the user (beneficiary) to transfer funds, access wallets, access wallet transcation and withdraw.

post/API/v4/OTP/GetOTPAuthorizedVendor

Header Parameters

Authorizationstring

bearer access_token

Content-typestring

application/json

Request Parameters

IssuerAccountNumberstring

RecipientUserIdstring

Response Parameters

Messagestring

OperationStatusstring

Always returned Indicates the status of the operation. Allowed parameters are:
Errors - Displays an error message if the Property name Obligation Definition/value operation was unsuccessful. For more information, see API Error Message Appendix.
Success—Indicates whether the operation was successful. Returns True if the action was successful or False if it was not successful.

Sample Request:

sandbox.xapi.xtrm.com/API/v4/OTP/GetOTPAuthorizedVendor

{
  "GetOTPAuthorizedVendor": {
    "request": { 
    	"IssuerAccountNumber": "SPN Account Number",
    	"RecipientUserId":"PAT Account Number"
    }
  }
}
						

Sample Response:


{
	"GetOTPAuthorizedVendorResponse": {
		"GetOTPAuthorizedVendorResult": {
			"Message": "OTP Send",
			"OperationStatus": {
				"Success": true,
				"Errors": null
			}
		}
	}
}