Developer/Connection method/Link Type/Link Type Recurring Billing (Fixed Term/Pay as You Go) Request

Link Type Recurring Billing (Fixed Term/Pay as You Go) Request

The following shows the interface field definitions for the provided functions.

Function IDD01-1
Process nameRecurring Billing (fixed term/pay-as-you-go) Request
FlowMerchant→SBPS
DestinationTo be informed when the service starts
Transmission methodForm POST
Transmission character encodingShift-JIS, html / text

(Legend of Type X: Single-byte character type M: Mixed double-byte character type 9: Numeric type)
*For the characters available for use, please refer to the Definition of Available Data Types (Basic Specifications).​

SEQ Tag element name Field name Chars Format Req'd Type Description Remarks
1pay_methodPayment method1000X△ Var.docomo: d Payment(Carrier/Wallet)
auone:au PAY(au Kantan Kessai (Easy Payment))
softbank2: SoftBank Matomete Shiharai (B)
rakuten: Rakuten Pay (Online Payment)
rakutenv2: Rakuten Pay (Online Payment) V2
PayPay: PayPay (Online Payment)
If omitted, select on the ASP screen. When specifying more than one, specify them separated by commas.
Specifies the payment method. (one or more can be specified)
Required if the service type is
1: Cancellation, 2: Reapplication, or 3: Special Linkage.
Special Linkage
*When specifying two or more methods, delimit them with commas.
2merchant_idMerchant ID59○FixedID for identifying the merchantSpecified by SBPS
3service_idService ID39○FixedID for identifying the merchant's serviceSpecified by SBPS
4cust_codeCustomer ID64X○Var.A customer ID managed by the merchantThis must be unique with respect to the combination of merchant ID and service ID.
This ID must be assigned for each customer since it will be used as the association key for storing payment information.
5order_idPurchase ID38X○Var.A purchase ID managed by the merchantShould be unique value for a combination of a Merchant ID and Service ID
6item_idProduct ID32X○Var.A product ID managed by the merchant 
7item_nameProduct name40M  Var.A product name of your choiceJapanese characters and halfwidth alphanumeric characters may be used together.
This string is cut off if it exceeds the character limit. Any garbled characters will be replaced by "?".
*When specifying two or more methods, separate them with commas.
8service_typeService type19○Fixed*If not set, the item name item itself will not be displayed on the confirmation screen. Application
1: Cancellation
2: Re-request
3: Special Linkage
4: 4:
"2: Reapply" can only be specified for au PAY (au Kantan Kessai (Easy Payment)).
Re-application" can be specified only for au Kantan Kessai Service. ”3: Special Linkage" and "4:
User account linkage" can only be specified for PayPay (online payment). "4:
User account linkage" is set, the PayPay app will be automatically launched when you apply for recurring billing (recurring and pay-as-you-go) from a smartphone with the PayPay app installed, and the application will be made via the app. "3:
9tracking_idTracking ID14X△Var.ID paid out by SBPS at the time of applicationCan only be specified and is required when the service type is "1: Cancellation" or "2: Re-request" and is required.
Unique value for each payment method
10terminal_typeType of terminal used by customer19  Fixed0: PC 1: CellphoneWhen omitted, "0" is applied.
*For details, please refer to the Setting the Terminal Type for Requests (Basic Specifications).​
11success_urlURL when payment is completed500X○Var.URL to which the screen returns  
12cancel_urlURL to go to when the payment is canceled500X○Var.URL to which the screen returns  
13error_urlURL to go to when an error occurs500X○Var.URL to which the screen returns  
14pagecon_urlRegistration notification CGI500X○Var.URL to which the result is notifiedSSL communication is required.
15free1Free field 120M  Var.  Japanese characters and halfwidth alphanumeric characters may be used together.
This string is cut off if it exceeds the character limit. Any garbled characters will be replaced by "?".
16free2Free field 220M  Var.  Japanese characters and halfwidth alphanumeric characters may be used together.
This string is cut off if it exceeds the character limit. Any garbled characters will be replaced by "?".
17free3Free field 320M  Var.  Japanese characters and halfwidth alphanumeric characters may be used together.
This string is cut off if it exceeds the character limit. Any garbled characters will be replaced by "?".
18request_dateDate and time of request149○FixedYYYYMMDDHHMISSDate and time when this function is requested by the merchant.
19limit_secondRequest timeout49  Var.Sets the expiration time of request in secondsThe default value of 600 is applied if this item is omitted.
20sps_hashcodeChecksum40X○FixedThe checksum for the message represented as a valueMethod for Generating Checksums (Basic Specifications)
Please refer to it.
Function IDD02-1
Process nameRecurring Billing (Fixed Term/Pay as You Go) Request Result CGI
FlowSBPS→Merchant
DestinationDesignated URL (Result Notification CGI)
Transmission methodForm POST
Transmission character encodingShift-JIS

(Legend of Type X: Single-byte character type M: Mixed double-byte character type 9: Numeric type)
*For the characters available for use, please refer to the Definition of Available Data Types (Basic Specifications).​

SEQ Tag element name Field name Chars Format Req'd Type Description Remarks
1pay_methodPayment method1000X  Var.As per the purchase request  
2merchant_idMerchant ID59○Fixed〃  
3service_idService ID39○Fixed〃  
4cust_codeCustomer ID64X○Var.〃  
5order_idPurchase ID38X○Var.〃  
6item_idProduct ID32X○Var.〃  
7item_nameProduct name40M  Var.〃  
8service_typeService type19○Fixed〃  
9tracking_idTracking ID14X  Fixed〃Unique value for each payment method
10terminal_typeType of terminal used by customer19  Fixed〃  
11free1Free field 120M  Var.〃  
12free2Free field 220M  Var.〃  
13free3Free field 320M  Var.〃  
14request_dateDate and time of request149○Fixed〃  
Fields to be set when the result is returned
15res_pay_methodProcessed result Payment method20X○Var.  Payment method selected at time of request
16res_resultStatus of processing result2X○FixedOK: Request processing OK
NG: Request NG
  
17res_tracking_idTracking ID for processing14X○FixedID assigned by SBPS at time of requestUnique value for each payment method
18res_payinfo_keyCustomer payment information32X  Var.Customer payment informationTo be returned only if the processed result is OK.
au PAY(au Kantan Kessai (Easy Payment)): MD5 value of OpenID
d-Barai (Carrier/Wallet): OpenID MD5 Value
SoftBank Matomete Shiharai: Intermediate ID MD5 Value
Rakuten Pay (Online Payment) Intermediate ID MD5 Value
Rakuten Pay (Online Payment) V2: OpenID MD5 Value
PayPay (Online Payment): userAuthorizationId MD5 Value
19res_payment_dateHandle completion date/time149  Var.YYYYMMDDHHMISSIf the processed result status is OK, the processed date of the financial institution.
If the processing result status is NG, there may be no processing date and time.
20res_err_codeError code4X  Var.See list of error codes  
21res_dateDate and time of response149○Var.YYYYMMDDHHMISSDate and time responded by SBPS
22limit_secondResponse limit time49○Var.Timeout when a request is issuedThe default value of 600 is applied if this item is omitted.
23sps_hashcodeChecksum40X○FixedFor the message represented as a value
Checksum
Method for Generating Checksums (Basic Specifications)
Please refer to it.
Function IDD02-2
Process nameRecurring Billing (Fixed Term/Pay as You Go) Request Result CGI
FlowResponse Merchant → SBPS
DestinationNotification Source of Recurring Billing (Fixed Term/Pay as You Go) Request Result CGI
Transmission methodHTTP POST
Transmission character encodingShift-JIS, text / csv

(Legend of Type X: Single-byte character type M: Mixed double-byte character type 9: Numeric type)
*For the characters available for use, please refer to the Definition of Available Data Types (Basic Specifications).​

SEQField nameCharsFormatReq'dDescriptionRemarks
1Processed result2X○OK/NGProcessed result at merchant
*Be sure to return OK if "res_result" of the result CGI is NG.
2Error message100M When an error occurs on the merchant side
Message to be displayed
Not required when the process is "OK"
* For detailed specifications, refer to the Link Type System Specifications (Basic Specifications).
Function IDD03-1
Process nameRecurring Billing (fixed term/pay-as-you-go) Request Result (redirect back to merchant's screen)
FlowSBPS→Merchant
DestinationDesignated URL (when completed)
Transmission methodForm POST
Transmission character encodingShift-JIS, html / text

(Legend of Type X: Single-byte character type M: Mixed double-byte character type 9: Numeric type)
*For the characters available for use, please refer to the Definition of Available Data Types (Basic Specifications).​

SEQ Tag element name Field name Chars Format Req'd Type Description Remarks
1pay_methodPayment method1000X  Var.As per the purchase request  
2merchant_idMerchant ID59○Fixed〃  
3service_idService ID39○Fixed〃  
4cust_codeCustomer ID64X○Var.〃  
5order_idPurchase ID38X○Var.〃  
6item_idProduct ID32X○Var.〃  
7item_nameProduct name40M  Var.〃  
8service_typeService type19○Fixed〃  
9tracking_idTracking ID14X  Fixed〃Unique value for each payment method
10terminal_typeType of terminal used by customer19  Fixed〃  
11free1Free field 120M  Var.〃  
12free2Free field 220M  Var.〃  
13free3Free field 320M  Var.〃  
14request_dateDate and time of request149○Fixed〃  
Fields to be set when the result is returned
15res_pay_methodProcessed result Payment method20X○Var.  Payment method selected at time of request
16res_resultStatus of processing result2X○FixedOK: Request processing OK
NG: Request NG
  
17res_tracking_idTracking ID for processing14X○FixedID assigned by SBPS at time of requestUnique value for each payment method
18res_payinfo_keyCustomer payment information32X  Var.Customer payment informationTo be returned only if the processed result is OK.
au PAY(au Kantan Kessai (Easy Payment)): MD5 value of OpenID
d-Barai (Carrier/Wallet): OpenID MD5 Value
SoftBank Matomete Shiharai: Intermediate ID MD5 Value
Rakuten Pay (Online Payment) Intermediate ID MD5 Value
Rakuten Pay (Online Payment) V2: OpenID MD5 Value
PayPay (Online Payment): userAuthorizationId MD5 Value
19res_payment_dateHandle completion date/time149  Var.YYYYMMDDHHMISSIf the processed result status is OK, the processed date of the financial institution.
If the processing result status is NG, there may be no processing date and time.
20res_err_codeError code4X  Var.See list of error codes  
21res_dateDate and time of response149○Var.YYYYMMDDHHMISSDate and time responded by SBPS
22limit_secondResponse limit time49○Var.Timeout when a request is issuedThe default value of 600 is applied if this item is omitted.
23sps_hashcodeChecksum40X○FixedFor the message represented as a value
Checksum
Method for Generating Checksums (Basic Specifications)
Please refer to it.
Was this page helpful?