Receiver / Get by ID

Get receiver by id

Request Header Authorization
Authentication Yes

API Endpoint

{{ServerUrl}}api/v1/receiver/getbyid/{id}

API Parameters

Request Parameter

Field DataType Required Description
id bigint Yes Receiver id

Response Parameter

Field DataType Description
status string response status
message string response message
payload
id bigint receiver id
receiverName string receiver name
affiliateReceiverId string affiliate receiver id
partnerId bigint partner id
partnerName string partner name
senderId bigint sender id
senderName string sender name
firstName string first name
lastName string last name
address string address
ampherId integer ampher id
ampherName string ampher name
provinceId integer province id
provinceName string province name
postcodeId integer postcode id
postcodeName string postcode name
countryId integer country id
countryName string country name
countryCode string country code
phoneCountryId integer phone country id
phoneCountryCode string phone country code
phoneNo string phone no
dateOfBirth date date of birth
email string email
nationalityId integer nationality id
nationalityName string nationality name
nationalityCode string nationality code
relationship string relationship
isIndividual boolean is individual
createdOn datetime created on
modifiedOn datetime modified on

Sample JSON Request:

				
					https://api-dev.intersendmoney.com/api/v1/receiver/getbyid/1
				
			

Response Codes and Statuses

Status Code Error Description
000 Success

Error Codes

Status Code Error Description
101 General/Process error (see message)
301 Permission denined
401 Unauthorized
500 Internal server error (see message)

Sample JSON Responses: Success

				
					{
    "status": "000",
    "message": "Success",
    "payload": {
        "id": 1,
        "receiverName": "Prasit1_00001 Sriket",
        "affiliateReceiverId": "PRASIT.SRIKET.1.00001",
        "partnerId": 1,
        "partnerName": "Partner 001",
        "senderId": 1,
        "senderName": "Prasit1_00001 Sriket",
        "firstName": "Prasit00001",
        "lastName": "Sriket",
        "address": "17/20",
        "ampherId": 46,
        "ampherName": "Bang Bon",
        "provinceId": 3,
        "provinceName": "Bangkok",
        "postcodeId": 11,
        "postcodeName": "10150",
        "countryId": 1,
        "countryName": "ANDORRA",
        "countryCode": "AND",
        "phoneCountryId": 1,
        "phoneCountryCode": "376",
        "phoneNo": "815981742",
        "dateOfBirth": "1990-12-25T00:00:00",
        "email": "receive_1_00001@gmail.com",
        "nationalityId": 1,
        "nationalityName": "Afghanistan",
        "nationalityCode": "AFG",
        "relationship": "Me",
        "isIndividual": false,
        "createdOn": "2023-12-25T17:52:31.037234Z",
        "createdBy": 1,
        "createdByName": "SystemAdmin",
        "modifiedOn": null,
        "modifiedBy": null,
        "modifiedByName": null
    }
}
				
			

Change Log