Create a Top-up Balance
/topupBalance
Request
There are no request parameters for this operation.
- application/json;charset=utf-8
object
Topup Balance Create
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
amount(required): object
Quantity
An amount in a given unit.
-
balanceTopup: object
Related Topup Balance
Title:
Related Topup Balance
A relationship between balance top-ups, that defines whether a balance is the parent or child of another. -
bucket(required): object
Bucket Ref
Title:
Bucket Ref
A reference to a bucket. -
channel: object
Channel Ref
Title:
Channel Ref
A reference to a channel. -
description: string
Title:
Description
The top-up's description. -
isAutoTopup: boolean
Title:
Is Auto Topup
Whether the top-up is automatic (true) or not (false). -
logicalResource: array
logicalResource
Logical resources associated with the top-up.
-
numberOfPeriods: integer
Title:
Number of Periods
The number of billing periods for which an automatic top-up occurs. If this property is not specified, then the top-up will continue automatically indefinitely. -
partyAccount(required): object
Party Account Ref
Title:
Party Account Ref
A reference to a party account. -
paymentMethod: object
Payment Method Ref
Title:
Payment Method Ref
A reference to a payment method. -
product: array
product
Products associated with the top-up.
-
reason: string
Title:
Reason
The reason for the top-up. -
recurringPeriod: string
Title:
Recurring Period Type
Allowed Values:[ "weekly", "fortnightly", "monthly" ]
A type of recurring period. -
requestor: object
Related Party
Title:
Related Party
A party related to another object. -
usageType(required): string
Title:
Usage Type
Allowed Values:[ "monetary", "voice", "data", "sms", "other" ]
The type of usage. For BRM REST Services Manager, only monetary and other are supported. -
validFor: object
TimePeriod
A period of time.
-
voucher: string
Title:
Voucher
The voucher used for the top-up.
object
-
amount: number
(float)
Default Value:
1
Numeric value in a given unit. -
units: string
Unit
object
Related Topup Balance
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType(required): string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Href
The balance's href. -
id(required): string
Title:
ID
The balance's ID. -
name: string
Title:
Name
The balance's name. -
role: string
Title:
Role
The balance's role. For example, parent or child.
object
Bucket Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Bucket Href
The bucket's href. -
id(required): string
Title:
Bucket ID
The bucket's ID. -
name: string
Title:
Bucket Name
The bucket's name.
object
Channel Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Channel Href
The channel's href. -
id(required): string
Title:
Channel ID
The channel's ID. -
name: string
Title:
Channel Name
The channel's name.
array
-
Array of:
object Logical Resource Ref
Title:
Logical Resource Ref
A reference to a logical resource.
object
Party Account Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
description: string
Title:
Description
The party account's description. -
href: string
Title:
Href
The party account's href. -
id(required): string
Title:
Account ID
The party account's ID. -
name: string
Title:
Name
The party account's name. -
status: string
Title:
Status
The overall status of the account. For example, due, paid, or in arrears.
object
Payment Method Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
The object's type in the target system, if baseType and type need further disambiguation.
-
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Href
The payment method's href. -
id(required): string
Title:
ID
The payment method's ID. -
name: string
Title:
Name
The payment method's name.
array
-
Array of:
object Product Ref
Title:
Product Ref
A reference to a product.
object
Related Party
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType(required): string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Href
The party's href. -
id(required): string
Title:
Party ID
The party's ID. -
name: string
Title:
Party Name
The party's name. -
role: string
Title:
Party Role
The party's role.
object
-
endDateTime: string
(date-time)
Title:
End Time Period
The end of the time period in IETC-RFC-3339 format. -
startDateTime: string
(date-time)
Title:
Start Time Period
The start of the time period in IETC-RFC-3339 format.
object
Logical Resource Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Href
The resource's href. -
id(required): string
Title:
ID
The resource's ID. -
name: string
Title:
Name
The resource's name.
object
Product Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Product Href
The product's href. -
id(required): string
Title:
Product ID
The product's ID. -
name: string
Title:
Product Name
The product's name.
Response
- application/json;charset=utf-8
201 Response
object
Topup Balance
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
amount: object
Quantity
An amount in a given unit.
-
balanceTopup: object
Related Topup Balance
Title:
Related Topup Balance
A relationship between balance top-ups, that defines whether a balance is the parent or child of another. -
bucket: object
Bucket Ref
Title:
Bucket Ref
A reference to a bucket. -
channel: object
Channel Ref
Title:
Channel Ref
A reference to a channel. -
confirmationDate: string
(date-time)
Title:
Confirmation Date
The date the top-up was confirmed. -
description: string
Title:
Description
The top-up's description. -
href: string
Title:
Href
The top-up balance's href. -
id: string
Title:
ID
The top-up balance's ID. -
isAutoTopup: boolean
Title:
Is Auto Topup
Whether the top-up is automatic (true) or not (false). -
logicalResource: array
logicalResource
Logical resources associated with the top-up.
-
numberOfPeriods: integer
Title:
Number of Periods
The number of billing periods for which an automatic top-up occurs. If this property is not specified, then the top-up will continue automatically indefinitely. -
partyAccount: object
Party Account Ref
Title:
Party Account Ref
A reference to a party account. -
paymentMethod: object
Payment Method Ref
Title:
Payment Method Ref
A reference to a payment method. -
product: array
product
Products associated with the top-up.
-
reason: string
Title:
Reason
The reason for the top-up. -
recurringPeriod: string
Title:
Recurring Period Type
Allowed Values:[ "weekly", "fortnightly", "monthly" ]
A type of recurring period. - relatedParty: array relatedParty
-
requestedDate: string
(date-time)
Title:
Requested Date
The date that the top-up request was made. -
requestor: object
Related Party
Title:
Related Party
A party related to another object. -
status(required): string
Title:
Action Status Type
Allowed Values:[ "created", "failed", "cancelled", "completed" ]
The status of an action. -
usageType: string
Title:
Usage Type
Allowed Values:[ "monetary", "voice", "data", "sms", "other" ]
The type of usage. For BRM REST Services Manager, only monetary and other are supported. -
validFor: object
TimePeriod
A period of time.
-
voucher: string
Title:
Voucher
The voucher used for the top-up.
object
-
amount: number
(float)
Default Value:
1
Numeric value in a given unit. -
units: string
Unit
object
Related Topup Balance
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType(required): string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Href
The balance's href. -
id(required): string
Title:
ID
The balance's ID. -
name: string
Title:
Name
The balance's name. -
role: string
Title:
Role
The balance's role. For example, parent or child.
object
Bucket Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Bucket Href
The bucket's href. -
id(required): string
Title:
Bucket ID
The bucket's ID. -
name: string
Title:
Bucket Name
The bucket's name.
object
Channel Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Channel Href
The channel's href. -
id(required): string
Title:
Channel ID
The channel's ID. -
name: string
Title:
Channel Name
The channel's name.
array
-
Array of:
object Logical Resource Ref
Title:
Logical Resource Ref
A reference to a logical resource.
object
Party Account Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
description: string
Title:
Description
The party account's description. -
href: string
Title:
Href
The party account's href. -
id(required): string
Title:
Account ID
The party account's ID. -
name: string
Title:
Name
The party account's name. -
status: string
Title:
Status
The overall status of the account. For example, due, paid, or in arrears.
object
Payment Method Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
The object's type in the target system, if baseType and type need further disambiguation.
-
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Href
The payment method's href. -
id(required): string
Title:
ID
The payment method's ID. -
name: string
Title:
Name
The payment method's name.
array
-
Array of:
object Product Ref
Title:
Product Ref
A reference to a product.
object
Related Party
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType(required): string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Href
The party's href. -
id(required): string
Title:
Party ID
The party's ID. -
name: string
Title:
Party Name
The party's name. -
role: string
Title:
Party Role
The party's role.
object
-
endDateTime: string
(date-time)
Title:
End Time Period
The end of the time period in IETC-RFC-3339 format. -
startDateTime: string
(date-time)
Title:
Start Time Period
The start of the time period in IETC-RFC-3339 format.
object
Logical Resource Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Href
The resource's href. -
id(required): string
Title:
ID
The resource's ID. -
name: string
Title:
Name
The resource's name.
object
Product Ref
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON-Schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Product Href
The product's href. -
id(required): string
Title:
Product ID
The product's ID. -
name: string
Title:
Product Name
The product's name.
400 Response
object
-
@baseType: string
This defines the super-class when sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-schema file that defines additional attributes and relationships.
-
@type: string
This defines the sub-class entity name when sub-classing.
-
code(required): string
Refers to application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
Displays the HTTP error code extension.
401 Response
object
-
@baseType: string
This defines the super-class when sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-schema file that defines additional attributes and relationships.
-
@type: string
This defines the sub-class entity name when sub-classing.
-
code(required): string
Refers to application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
Displays the HTTP error code extension.
403 Response
object
-
@baseType: string
This defines the super-class when sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-schema file that defines additional attributes and relationships.
-
@type: string
This defines the sub-class entity name when sub-classing.
-
code(required): string
Refers to application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
Displays the HTTP error code extension.
405 Response
object
-
@baseType: string
This defines the super-class when sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-schema file that defines additional attributes and relationships.
-
@type: string
This defines the sub-class entity name when sub-classing.
-
code(required): string
Refers to application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
Displays the HTTP error code extension.
409 Response
object
-
@baseType: string
This defines the super-class when sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-schema file that defines additional attributes and relationships.
-
@type: string
This defines the sub-class entity name when sub-classing.
-
code(required): string
Refers to application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
Displays the HTTP error code extension.
500 Response
object
-
@baseType: string
This defines the super-class when sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-schema file that defines additional attributes and relationships.
-
@type: string
This defines the sub-class entity name when sub-classing.
-
code(required): string
Refers to application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
Displays the HTTP error code extension.
Examples
The following examples shows how to create top-up balances by submitting POST requests on the REST resource using cURL. For more information about cURL, see Use cURL.
The -d option specifies the file to attach as the request body.
curl -X POST 'http://host:port/brm/prepayBalanceManagement/version/topupBalance' -d @topupBalanceCreate.json
Example of Request Body for a One-time Noncurrency Top Up Balance
The following is an example of the contents of the topupBalanceCreate.json file sent as the request body to create a one-time noncurrency top-up balance.
{ "amount": { "amount":"2", "units":"USD" }, "bucket": { "id" : "0.0.0.1+-balance_group+6336883+840+0" } }
Example of Response Body for a One-time Noncurrency Top Up Balance
The following is an example of the response body in JSON format.
{ "@baseType": "TopupBalance", "@schemaLocation": null, "@type": "TopupBalance", "amount": { "amount": 2.0, "units": "USD", "@baseType": null, "@schemaLocation": null, "@type": null }, "bucket": { "id": "0.0.0.1+-balance_group+6336883+840+0", "href": "http://host:port/brm/prepayBalanceManagement/v4/bucket/0.0.0.1+-balance_group+6336883+840+0", "name": null, "@baseType": "BucketRef", "@schemaLocation": null, "@type": "BucketRef", "@referredType": null }, "channel": null, "confirmationDate": "2021-09-30T02:45:11+05:30", "description": null, "href": "http://host:port/brm/prepayBalanceManagement/v4/topupBalance/0.0.0.1+-topup+6534850", "id": "0.0.0.1+-topup+6534850", "impactedBucket": [ { "@baseType": "ImpactedBucket", "@schemaLocation": null, "@type": "ImpactedBucket", "amountAfter": { "amount": -194.0, "units": "USD", "@baseType": null, "@schemaLocation": null, "@type": null }, "amountBefore": { "amount": -192.0, "units": "USD", "@baseType": null, "@schemaLocation": null, "@type": null }, "bucket": { "id": "0.0.0.1+-balance_group+6336883+840+0", "href": "http://host:port/brm/prepayBalanceManagement/v4/bucket/0.0.0.1+-balance_group+6336883+840+0", "name": null, "@baseType": "BucketRef", "@schemaLocation": null, "@type": "BucketRef", "@referredType": null }, "confirmationDate": null, "description": null, "item": [ { "@baseType": "ImpactedBucketItem", "@schemaLocation": null, "@type": "ImpactedBucketItem", "amount": { "amount": 2.0, "units": "USD", "@baseType": null, "@schemaLocation": null, "@type": null }, "description": null, "itemType": null, "name": null, "reason": null } ], "name": null, "requestedDate": null } ], "isAutoTopup": false, "logicalResource": { "@baseType": null, "@referredType": null, "@schemaLocation": null, "@type": null, "href": null, "id": null, "name": null, "value": "" }, "numberOfPeriods": null, "partyAccount": { "id": "0.0.0.1+-account+6340627", "href": null, "description": null, "name": "Alice Rose", "status": "active", "@baseType": null, "@schemaLocation": null, "@type": "PartyAccountRef", "@referredType": null }, "payment": { "id": "0.0.0.1+-item-payment+6536386", "href": "http://host:port/brm/payment/v4/payment/0.0.0.1+-item-payment+6536386", "name": "Billing Event Log", "amount": { "unit": "USD", "value": 2.0 }, "paymentDate": "2021-09-30T02:45:11+05:30", "@baseType": "Payment", "@schemaLocation": null, "@type": "Payment", "@referredType": null }, "paymentMethod": { "id": "0.0.0.1+-payinfo-cc+6337651", "href": "http://host:port/brm/paymentMethods/v1/paymentMethod/0.0.0.1+-payinfo-cc+6337651", "description": null, "isPreferred": true, "name": "PIN Payinfo Object", "status": null, "statusDate": null, "account": [ { "id": "0.0.0.1+-account+6340627", "href": null, "description": null, "name": "Alice Rose", "@baseType": null, "@schemaLocation": null, "@type": null, "@referredType": null } ], "relatedParty": null, "validFor": null, "@baseType": null, "@schemaLocation": null, "@type": "tokenizedCard", "@referredType": null }, "product": { "id": "0.0.0.1+-service-telco-gsm-sms+6337523", "href": null, "name": "ServiceTelcoGsmSms", "@baseType": null, "@schemaLocation": null, "@type": "ProductRef", "@referredType": null }, "reason": null, "recurringPeriod": null, "relatedParty": null, "relatedTopupBalance": null, "requestedDate": "2021-09-30T02:45:11+05:30", "requestor": null, "status": "CONFIRMED", "usageType": "monetary", "voucher": "" }
Example of Request Body for a Recurring Currency Top Up Balance
The following is an example of the contents of the topupBalanceCreate.json file sent as the request body to create a recurring currency top-up balance.
{ "amount":{ "amount":"2", "units":"USD" }, "recurringPeriod" : "daily", "isAutoTopup" : "true", "numberOfPeriods" : "2", "partyAccount":{ "id" : "0.0.0.1+-account+6340627" } }
Example of Response Body for a Recurring Currency Top Up Balance
The following is an example of the response body in JSON format.
{ "@baseType": "TopupBalance", "@schemaLocation": null, "@type": "TopupBalance", "amount": { "amount": 2.0, "units": "USD", "@baseType": null, "@schemaLocation": null, "@type": null }, "bucket": { "id": "0.0.0.1+-balance_group+6336883+840+0", "href": "http://host:port/brm/prepayBalanceManagement/v4/bucket/0.0.0.1+-balance_group+6336883+840+0", "name": null, "@baseType": "BucketRef", "@schemaLocation": null, "@type": "BucketRef", "@referredType": null }, "channel": null, "confirmationDate": "2021-09-30T03:06:42+05:30", "description": null, "href": "http://host:port/brm/prepayBalanceManagement/v4/topupBalance/0.0.0.1+-topup+6528179", "id": "0.0.0.1+-topup+6528179", "impactedBucket": [ { "@baseType": "ImpactedBucket", "@schemaLocation": null, "@type": "ImpactedBucket", "amountAfter": { "amount": 299.0, "units": "USD", "@baseType": null, "@schemaLocation": null, "@type": null }, "amountBefore": { "amount": 301.0, "units": "USD", "@baseType": null, "@schemaLocation": null, "@type": null }, "bucket": { "id": "0.0.0.1+-balance_group+6336883+840+0", "href": "http://host:port/brm/prepayBalanceManagement/v4/bucket/0.0.0.1+-balance_group+6336883+840+0", "name": null, "@baseType": "BucketRef", "@schemaLocation": null, "@type": "BucketRef", "@referredType": null }, "confirmationDate": null, "description": null, "item": [ { "@baseType": "ImpactedBucketItem", "@schemaLocation": null, "@type": "ImpactedBucketItem", "amount": { "amount": 2.0, "units": "USD", "@baseType": null, "@schemaLocation": null, "@type": null }, "description": null, "itemType": null, "name": null, "reason": null } ], "name": null, "requestedDate": null } ], "isAutoTopup": true, "logicalResource": { "@baseType": null, "@referredType": null, "@schemaLocation": null, "@type": null, "href": null, "id": null, "name": null, "value": "" }, "numberOfPeriods": 2, "partyAccount": { "id": "0.0.0.1+-account+6340627", "href": null, "description": null, "name": "Alice Rose", "status": "active", "@baseType": null, "@schemaLocation": null, "@type": "PartyAccountRef", "@referredType": null }, "payment": { "id": "0.0.0.1+-item-payment+6526899", "href": "http://host:port/brm/payment/v4/payment/0.0.0.1+-item-payment+6526899", "name": "Billing Event Log", "amount": { "unit": "USD", "value": 2.0 }, "paymentDate": "2021-09-30T03:06:43+05:30", "@baseType": "Payment", "@schemaLocation": null, "@type": "Payment", "@referredType": null }, "paymentMethod": { "id": "0.0.0.1+-payinfo-cc+6337651", "href": "http://host:port/brm/paymentMethods/v1/paymentMethod/0.0.0.1+-payinfo-cc+6337651", "description": null, "isPreferred": true, "name": "PIN Payinfo Object", "status": null, "statusDate": null, "account": [ { "id": "0.0.0.1+-account+6340627", "href": null, "description": null, "name": "Alice Rose", "@baseType": null, "@schemaLocation": null, "@type": null, "@referredType": null } ], "relatedParty": null, "validFor": null, "@baseType": null, "@schemaLocation": null, "@type": "tokenizedCard", "@referredType": null }, "product": { "id": "0.0.0.1+-service-telco-gsm-sms+6337523", "href": null, "name": "ServiceTelcoGsmSms", "@baseType": null, "@schemaLocation": null, "@type": "ProductRef", "@referredType": null }, "reason": null, "recurringPeriod": "1 Day", "relatedParty": null, "relatedTopupBalance": null, "requestedDate": "2021-09-30T03:06:42+05:30", "requestor": null, "status": "CONFIRMED", "usageType": "monetary", "voucher": "" }