Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update Member

This API is used to update subscribed member data on Faspay. Merchants can only change for parameters:

  • member_name

  • member_email

  • process_date

  • recurring_amount

  • recurring_end_date

  • recurring_status

URL EndPoint

Request Parameter:

Parameter
Data Type
M/O/C
Description

request

Varchar

O

Request Description

merchant_id

Numeric (5)

M

ID Merchant

merchant

Varchar (32)

O

Merchant Name

member_id

Varchar (50)

M

Merchant’s member ID

member_name

Varchar (50)

M

Merchant’s member name

member_email

Varchar (50)

M

Merchant’s member email

member_email_notif

Numeric (1)

M

Member’s email Notification

1= True, 0= False

process_date

Varchar

M

Process date = Date,Date (up to 9 times)

Process date, this parameters used for date of transaction and date of retry recurring if there is a failed recurring.

Sample:

process_date = "16,20,22,24,26,28,30,31". (Max 9 date)

16 is a date for register new recurring transaction date.

20,22,24,26,28,30,31 is a date for retry recurring if any failed recurring to this member.

recurring_amount

Numeric (12)

M

Recurring amount

recurring_start_date

Date

M

Recurring start date

Format= YYYY-MM-DD

recurring_end_date

Date

M

Recurring End Date

Format= YYYY-MM-DD

recurring_period

Varchar (1)

M

Recurring Period

D = Daily, M = Monthly, Y = Yearly

recurring_period_at

Numeric (1)

M

Repetition of Recurring Period, sample case: if user fill recurring_period with M (monthly), recurring_perriod_at is used for repetition of deduction by period. Sample:

-recurring_period: M

-recurring_perriod_at: 1

so, recurring will process by system per months, if fill with 3, recurring will process per 3 months.

recurring_accumulate_at

Numeric (1)

M

Repetition of Recurring Accumulate in Days

recurring_status

Numeric (2)

M

Recurring Status:

0 = False

1 = True

card_expire_notif

Numeric (1)

M

Value=1, then if one month the credit card is about expire, it will be notified to the Merchant.

Value=0, then it will not be notified to the merchant

signature

Varchar (50)

M

sha1(md5(transaction account + transaction password + member_id))

Response:

Parameter
Data Type
M/O/C
Description

response

Varchar

O

Response description

merchant_id

Numeric (5)

M

Merchant Code

merchant

Varchar (32)

O

Merchant name

member_id

Varchar (50)

M

Merchant’s member ID

response_code

Varchar (50)

M

Response code

0: Success 1: Failed

response_desc

Varchar (50)

M

Response Description

Last updated